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

  1.  
  2. MEMCMP(3)                  UNIX Programmer's Manual                  MEMCMP(3)
  3.  
  4. NNAAMMEE
  5.      mmeemmccmmpp - compare byte string
  6.  
  7. SSYYNNOOPPSSIISS
  8.      ##iinncclluuddee <<ssttrriinngg..hh>>
  9.  
  10.      _i_n_t
  11.      mmeemmccmmpp(_c_o_n_s_t _v_o_i_d _*_b_1, _c_o_n_s_t _v_o_i_d _*_b_2, _s_i_z_e___t _l_e_n)
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.      The mmeemmccmmpp() function compares byte string _b_1 against byte string _b_2.
  15.      Both strings are assumed to be _l_e_n bytes long.
  16.  
  17. RREETTUURRNN VVAALLUUEESS
  18.      The mmeemmccmmpp() function returns zero if the the two strings are identical,
  19.      otherwise returns the difference between the first two differing bytes
  20.      (treated as unsigned char values, so that `\200' is greater than `\0',
  21.      for example).  Zero­length strings are always identical.
  22.  
  23. SSEEEE AALLSSOO
  24.      bcmp(3),  strcasecmp(3),  strcmp(3),  strcoll(3),  strxfrm(3)
  25.  
  26. SSTTAANNDDAARRDDSS
  27.      The mmeemmccmmpp() function conforms to ANSI C3.159­1989 (``ANSI C'').
  28.  
  29. BSD Experimental                 June 29, 1991                               1
  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.