summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2009-11-22 22:03:20 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2009-11-22 22:03:20 +0100
commit8d4fdfbe43628119fc87920239704fe3d240d8a2 (patch)
tree7f2019192794be1b165e61b88bbc902f8976f488
parentc6c6b49c67a1768e82859e4dd0efbeb5e0452d87 (diff)
Declare memcmp function
* include/string.h (memcmp): New prototype.
-rw-r--r--include/string.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h
index 0d805ea..34423df 100644
--- a/include/string.h
+++ b/include/string.h
@@ -30,6 +30,8 @@
extern void *memcpy (void *dest, const void *src, size_t n);
+extern int *memcmp (const void *s1, const void *s2, size_t n);
+
extern void *memset (void *s, int c, size_t n);
extern char *strchr (const char *s, int c);