diff options
Diffstat (limited to 'src/string/memccpy.c')
| -rw-r--r-- | src/string/memccpy.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/string/memccpy.c b/src/string/memccpy.c index 80143e32..17ee0c4b 100644 --- a/src/string/memccpy.c +++ b/src/string/memccpy.c @@ -1,9 +1,10 @@ -#if 0 - #include <string.h> +#include "_safety.h" void *memccpy(void * restrict s1, const void * restrict s2, int c, size_t n) { + SIGNAL_SAFE(0); + unsigned char *dst = s1; const unsigned char *src = s2; size_t i = 0; @@ -23,6 +24,3 @@ void *memccpy(void * restrict s1, const void * restrict s2, int c, size_t n) /* XOPEN(4) */ - - -#endif |
