Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

strchr64(3) OSS Library Calls Reference Manual
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 Specifies the string to search.
c Specifies 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 specified 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).
6134 Hewlett-Packard Company 527187-017