home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / ixemul-39.47-env-bin.lha / man / cat3 / strcmp.0 < prev    next >
Text File  |  1993-12-07  |  1KB  |  67 lines

  1.  
  2. STRCMP(3)                  UNIX Programmer's Manual                  STRCMP(3)
  3.  
  4. NNAAMMEE
  5.      ssttrrccmmpp - compare strings
  6.  
  7. SSYYNNOOPPSSIISS
  8.      ##iinncclluuddee <<ssttrriinngg..hh>>
  9.  
  10.      _i_n_t
  11.      ssttrrccmmpp(_c_o_n_s_t _c_h_a_r _*_s_1, _c_o_n_s_t _c_h_a_r _*_s_2)
  12.  
  13.      _i_n_t
  14.      ssttrrnnccmmpp(_c_o_n_s_t _c_h_a_r _*_s_1, _c_o_n_s_t _c_h_a_r _*_s_2, _s_i_z_e___t _l_e_n)
  15.  
  16. DDEESSCCRRIIPPTTIIOONN
  17.      The ssttrrccmmpp() and ssttrrnnccmmpp() functions lexicographically compare the null­
  18.      terminated strings _s_1 and _s_2.
  19.  
  20. RREETTUURRNN VVAALLUUEESS
  21.      The ssttrrccmmpp() and ssttrrnnccmmpp() return an integer greater than, equal to, or
  22.      less than 0, according as the string _s_1 is greater than, equal to, or
  23.      less than the string _s_2. The comparison is done using unsigned charac­
  24.      ters, so that `\200' is greater than `\0'.
  25.  
  26.      The ssttrrnnccmmpp() compares not more than _l_e_n characters.
  27.  
  28. SSEEEE AALLSSOO
  29.      bcmp(3),  memcmp(3),  strcasecmp(3),  strcoll(3),  strxfrm(3)
  30.  
  31. SSTTAANNDDAARRDDSS
  32.      The ssttrrccmmpp() and ssttrrnnccmmpp() functions conform to ANSI C3.159­1989 (``ANSI
  33.      C'').
  34.  
  35. BSD Experimental                 June 29, 1991                               1
  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.