STRLEN(3) Library Functions Manual STRLEN(3)
NAME
strlen — get
string length
SYNOPSIS
#include <string.h> size_t strlen(const char *s);
DESCRIPTION
The strlen() function computes the number of bytes in the string to which s points, not including the terminating null byte.
RETURN VALUE
The strlen() function returns the length of s ; no return value is reserved to indicate an error.
ERRORS
No errors are defined.
EXAMPLES
None.
APPLICATION USAGE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
DERIVATION
Derived from Issue 1 of the SVID.
February 1997 posix.fail