home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 200-299 / ff218.lzh / EdLib / man / StrCSPN < prev    next >
Text File  |  1989-06-04  |  866b  |  34 lines

  1. STRCSPN(3)                 Library Functions                STRCSPN(3)
  2.  
  3.  
  4.  
  5. NAME
  6.      strcspn - find the length of the longest intial segment of a
  7.      string that consists of characters not from a certain set.
  8.  
  9. SYNOPSIS
  10.      #include <edlib.h>
  11.  
  12.      int strcspn(str, charset)
  13.      char *str, *charset;
  14.  
  15. DESCRIPTION
  16.      Strcspn searches the null terminated string 'str' for characters
  17.      in the set 'charset'. The length of the longest intial string
  18.      that consists of characters not from 'charset' is returned. If no
  19.      characters of 'str' are also members of 'charset', then the
  20.      length of 'str' is returned. If 'charset' is null then this
  21.      will also cause the full length of 'str' to be returned.
  22.  
  23.      This function is also known as instr.
  24.  
  25. AUTHOR
  26.      Daniel J. Barrett.
  27.      barrett@cs.jhu.edu or ins_adjb@jhunix.UUCP
  28.  
  29. SEE ALSO
  30.      strspn(3)
  31.  
  32.  
  33.  
  34.