mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-09-07 19:54:27 +00:00
22 lines
332 B
C
22 lines
332 B
C
/*
|
|
* $Id: bmem.c,v 1.2 1997/09/21 06:04:59 gdr Exp $
|
|
*
|
|
* This file is formatted with tabs every 8 columns.
|
|
*/
|
|
|
|
#ifdef __ORCAC__
|
|
segment "libc_gen__";
|
|
#endif
|
|
|
|
#include <string.h>
|
|
|
|
void
|
|
bzero(void *buf, size_t len) {
|
|
memset(buf, 0, len);
|
|
}
|
|
|
|
void
|
|
bcopy(const void *src, const void *dest, size_t len) {
|
|
memmove(dest, src, len);
|
|
}
|