*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> strlen (3)              



NAME    [Toc]    [Back]

     strlen - find length of string

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <string.h>

     strlen(const char *s);

DESCRIPTION    [Toc]    [Back]

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

RETURN VALUES    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]


STANDARDS    [Toc]    [Back]

     The strlen() function conforms to ANSI X3.159-1989 (``ANSI C'').

BSD                              June 4, 1993                              BSD
[ Back ]
 Similar pages
Name OS Title
strlen Tru64 Find the length of a string
strlen OpenBSD find length of a string
wcslen Tru64 Find length of wide-character string
strlen Linux calculate the length of a string
len Tru64 return length of Fortran string
len IRIX return length of Fortran string
len IRIX return length of Fortran string
glcmeasurecountedstring IRIX store a string of specified length in measurement buffer
strnlen Linux determine the length of a fixed-size string
strspn Tru64 Return length of initial segment of string
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service