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

  man pages->FreeBSD man pages -> strspn (3)              
Title
Content
Arch
Section
 

STRSPN(3)

Contents


NAME    [Toc]    [Back]

     strspn -- span a string

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <string.h>

     size_t
     strspn(const char *s, const char *charset);

DESCRIPTION    [Toc]    [Back]

     The strspn() function spans the initial part of the null-terminated
     string s as long as the characters from s occur in string charset.

RETURN VALUES    [Toc]    [Back]

     The strspn() function returns the number of characters spanned.

SEE ALSO    [Toc]    [Back]

      
      
     memchr(3), strchr(3), strcspn(3), strpbrk(3), strrchr(3), strsep(3),
     strstr(3), strtok(3)

STANDARDS    [Toc]    [Back]

     The strspn() function conforms to ISO/IEC 9899:1990 (``ISO C89'').


FreeBSD 5.2.1			 June 4, 1993			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
strcspn OpenBSD span the complement of a string
strcspn FreeBSD span the complement of a string
strcspn NetBSD span the complement of a string
XmCvtByteStreamToXmString HP-UX A compound string function that converts from a compound string in Byte Stream format to a compound string
XmStringFreeContext HP-UX A compound string function that releases the string scanning context data structure
XmStringConcatAndFree HP-UX A compound string function that appends one string to another and frees the original strings
XmStringDrawUnderline HP-UX A compound string function that underlines a string drawn in an X Window
XmTextFieldInsert HP-UX A TextField function that inserts a character string into a text string
XmStringDrawUnderline IRIX A compound string function that underlines a string drawn in an X Window
DXmCvtFCtoCS Tru64 Converts a string in the file-compatible format to a compound string.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service