diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-10-03 23:57:14 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-10-03 23:57:14 +0000 |
commit | 3259c862c11bfc2260cfbe86d823a3aea68b4e2d (patch) | |
tree | 9ea69f8418b8595d4de49c2fb21838b01be8270f /include/string.h | |
parent | e0c708a906655680977061a360a4c2348cd1626b (diff) |
More missing prototypes.
Diffstat (limited to 'include/string.h')
-rw-r--r-- | include/string.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h index 923005de0..2c334ba71 100644 --- a/include/string.h +++ b/include/string.h @@ -57,6 +57,7 @@ extern int memcmp __P ((__const __ptr_t __s1, __const __ptr_t __s2, extern __ptr_t memmove __P ((__ptr_t __dest, __const __ptr_t __src, size_t __n)); + /* Minimal (very!) locale support */ #define strcoll strcmp #define strxfrm strncpy @@ -66,6 +67,10 @@ extern __ptr_t memmove __P ((__ptr_t __dest, __const __ptr_t __src, #define rindex strrchr /* Other common BSD functions */ +/* Set N bytes of S to 0. */ +extern void bzero __P ((__ptr_t __s, size_t __n)); +/* Copy N bytes of SRC to DEST (like memmove, but args reversed). */ +extern void bcopy __P ((__const __ptr_t __src, __ptr_t __dest, size_t __n)); /* Compare S1 and S2, ignoring case. */ extern int strcasecmp __P ((__const char *__s1, __const char *__s2)); |