Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

Guardian Native C Library Calls (s) strchr64(3)
NAME
strchr64 - Finds an integer character in string
LIBRARY
H-series and J-series native Guardian processes: implicit libraries
H-series and J-series OSS processes: implicit libraries
SYNOPSIS
#include <string.h>
char _ptr64 *strchr64(
const char _ptr64 *s,
int c);
PARAMETERS
s Species the string to search.
c Species a character, expressed as an int data type, to search for.
DESCRIPTION
The strchr64() function locates the first occurrence of the integer specified by the c parameter,
which is converted to a char, in the string pointed to by the s parameter. The terminating null
character is treated as part of the string pointed to by the s parameter.
If c is a null byte (’\0’), the function locates the terminating null byte of s.
RETURN VALUES
Upon successful completion, this function returns a pointer to the matching character in the
scanned string. When the character specied by parameter c is not found, a null pointer is
returned.
ERRORS
None. This function does not set errno.
RELATED INFORMATION
Functions: strcat64(3), strrchr64(3).
527192-018 Hewlett-Packard Company 683