diff options
Diffstat (limited to 'src/libstddjb/str_cpy.c')
-rw-r--r-- | src/libstddjb/str_cpy.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/libstddjb/str_cpy.c b/src/libstddjb/str_cpy.c deleted file mode 100644 index 179688c..0000000 --- a/src/libstddjb/str_cpy.c +++ /dev/null @@ -1,16 +0,0 @@ -/* ISC license. */ - -#include <skalibs/config.h> - -#ifdef SKALIBS_FLAG_REPLACE_LIBC - -#include <skalibs/bytestr.h> - -unsigned int str_copy (char *s, char const *t) -{ - register unsigned int len = 0 ; - while ((*s = *t)) (s++, t++, len++) ; - return len ; -} - -#endif |