manpagez: man pages & more
man strlen(3)
Home | About | info | man | News  
strlen(3)                BSD Library Functions Manual                strlen(3)


NAME

     strlen -- find length of string


LIBRARY

     Standard C Library (libc, -lc)


SYNOPSIS

     #include <string.h>

     size_t
     strlen(const char *s);


DESCRIPTION

     The strlen() function computes the length of the string s.


RETURN VALUES

     The strlen() function returns the number of characters that precede the
     terminating NUL character.


SEE ALSO

     string(3)


STANDARDS

     The strlen() function conforms to ISO/IEC 9899:1990 (``ISO C90'').

BSD                              June 4, 1993                              BSD

Mac OS X 10.5 - Generated Sun Oct 28 21:39:58 EDT 2007