From b44f593ac3cbcf98768986a236ce3bd65d608202 Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 18 May 2002 21:13:40 +0000 Subject: [PATCH] Added bzero, _bzero git-svn-id: svn://svn.cc65.org/cc65/trunk@1275 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/string.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/string.h b/include/string.h index 98a006dc1..e85f3eace 100644 --- a/include/string.h +++ b/include/string.h @@ -64,8 +64,14 @@ void* __fastcall__ memcpy (void* dest, const void* src, size_t count); void* __fastcall__ memmove (void* dest, const void* src, size_t count); void* __fastcall__ memset (void* s, int c, size_t count); +/* The following is an internal function, the compiler will replace memset + * with it if the fill value is zero. Never use this one directly! + */ +void* __fastcall__ _bzero (void* ptr, size_t n); + /* Non standard: */ #ifndef __STRICT_ANSI__ +void __fastcall__ bzero (void* ptr, size_t n); /* BSD */ char* __fastcall__ strdup (const char* s); /* SYSV/BSD */ int __fastcall__ stricmp (const char* s1, const char* s2); /* DOS/Windows */ int __fastcall__ strcasecmp (const char* s1, const char* s2); /* Same for Unix */ -- 2.39.5