4.3BSD-Reno/share/man/cat3/memcmp.0

Compare this file to the similar file:
Show the results in this format:




MEMCMP(3)		      1990			MEMCMP(3)



NNAAMMEE
     memcmp - compare byte string

SSYYNNOOPPSSIISS
     ##iinncclluuddee <<ssttrriinngg..hh>>

     iinntt
     mmeemmccmmpp((ccoonnsstt vvooiidd **bb11,, ccoonnsstt vvooiidd **bb22,, ssiizzee__tt lleenn));;

DDEESSCCRRIIPPTTIIOONN
     MMeemmccmmpp compares byte string _b_1 against byte string _b_2,
     returning zero if they are identical, otherwise returning
     the difference between the first two differing bytes
     (treated as unsigned char values, so that '\200' is greater
     than '\0', e.g.).	Both strings are assumed to be _l_e_n bytes
     long.  Zero-length strings are always identical.

SSEEEE AALLSSOO
     bcmp(3), strcasecmp(3), strcmp(3), strcoll(3), strxfrm(3)

SSTTAANNDDAARRDDSS
     _M_e_m_c_m_p conforms to ANSI X3.159-1989 (``ANSI C'').

































Printed 7/27/90               June				1