Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
OSS Library Calls (s) strrchr64(3)
NAME
strrchr64 - Searches for 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 *strrchr64(
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 strrchr64( ) function locates the last occurrence of the integer specified by the c parameter,
which is converted to a char value, in the string pointed to by the s parameter. The terminating
null character is treated as a 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), strchr64(3).
527187-017 Hewlett-Packard Company 6−169