]>
git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/blob - arch/m68k/lib/memcmp.c
1 #include <linux/types.h>
3 int memcmp(const void * cs
,const void * ct
,size_t count
)
5 const unsigned char *su1
, *su2
;
7 for( su1
= cs
, su2
= ct
; 0 < count
; ++su1
, ++su2
, count
--)
9 return((*su1
< *su2
) ? -1 : +1);