summaryrefslogtreecommitdiff
path: root/src/libstddjb/byte_copy.c
blob: 410fb951ff2a268e398e8f7d54eb605a36ec80d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* ISC license. */

#include <skalibs/config.h>

#ifdef SKALIBS_FLAG_REPLACE_LIBC

#include <skalibs/bytestr.h>

void byte_copy (register char *to, register unsigned int n, register char const *from)
{
  while (n--) *to++ = *from++ ;
}

#endif