Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
OSS Library Calls (s) strlen64(3)
NAME
strlen64 - Finds length of 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>
unsigned long long strlen64(
const char _ptr64 *s);
PARAMETERS
s Specifies the string.
DESCRIPTION
The strlen64( ) function returns the number of bytes in the string pointed to by the s parameter.
The string length value does not include the string terminating null character.
RETURN VALUES
Upon successful completion, the strlen64( ) function returns the number of bytes in the string to
which the s parameter points. Otherwise, (unsigned long long)-1 is returned, and errno is set to
indicate the error.
RELATED INFORMATION
Functions: strcat64(3).
527187-017 Hewlett-Packard Company 6−155