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

  man pages->OpenBSD man pages -> strlen (3)              
Title
Content
Arch
Section
 

STRLEN(3)

Contents


NAME    [Toc]    [Back]

     strlen - find length of a string

SYNOPSIS    [Toc]    [Back]

     #include <string.h>

     size_t
     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]

      
      
     string(3)

STANDARDS    [Toc]    [Back]

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

OpenBSD     3.6                           June      29,      1991
[ Back ]
 Similar pages
Name OS Title
strlen NetBSD find length of string
strlen Tru64 Find the length of a string
strlen FreeBSD find length of 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
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service