From 3259c862c11bfc2260cfbe86d823a3aea68b4e2d Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 3 Oct 2000 23:57:14 +0000 Subject: More missing prototypes. --- include/string.h | 5 +++++ 1 file changed, 5 insertions(+) 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)); -- cgit v1.2.3