r6831@lvps87-230-33-50: verhaegs | 2008-02-03 14:08:57 +0100
[tangerine.git] / compiler / clib / bcmp.c
blob38fb2bce9697878efe6fc15dc5ec1c1b7848c720
1 /*
2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 $Id$
5 ANSI C function bcmp().
6 */
8 /*****************************************************************************
10 NAME */
11 #include <string.h>
13 int bcmp (
15 /* SYNOPSIS */
16 const void * s1,
17 const void * s2,
18 size_t n)
20 /* FUNCTION
21 Compare the first n bytes of s1 and s2.
23 INPUTS
24 s1 - The first byte array to be compared
25 s2 - The second byte array to be compared
26 n - How many bytes to compare
28 RESULT
30 NOTES
32 EXAMPLE
34 BUGS
36 SEE ALSO
38 INTERNALS
40 ******************************************************************************/
42 return memcmp(s1, s2, n);
43 } /* bcmp */