home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / man / cat3 / strspn.0 < prev    next >
Text File  |  1993-12-07  |  1KB  |  67 lines

  1.  
  2. STRSPN(3)                  UNIX Programmer's Manual                  STRSPN(3)
  3.  
  4. NNAAMMEE
  5.      ssttrrssppnn - span a string
  6.  
  7. SSYYNNOOPPSSIISS
  8.      ##iinncclluuddee <<ssttrriinngg..hh>>
  9.  
  10.      _s_i_z_e___t
  11.      ssttrrssppnn(_c_o_n_s_t _c_h_a_r _*_s, _c_o_n_s_t _c_h_a_r _*_c_h_a_r_s_e_t)
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.      The strcspn function spans the initial part of the null­terminated string
  15.      _s as long as the characters from _s occur in string _c_h_a_r_s_e_t.
  16.  
  17. RREETTUURRNN VVAALLUUEESS
  18.      The ssttrrssppnn() function returns the number of characters spanned.
  19.  
  20. SSEEEE AALLSSOO
  21.      index(3),  memchr(3),  rindex(3),  strchr(3),  strcspn(3),  strpbrk(3),
  22.      strrchr(3),  strsep(3),  strstr(3),  strtok(3)
  23.  
  24. SSTTAANNDDAARRDDSS
  25.      The ssttrrssppnn() function conforms to ANSI C3.159­1989 (``ANSI C'').
  26.  
  27. BSD Experimental                 June 29, 1991                               1
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.