WvStreams
argp
mempcpy.c
1
/* strndup.c
2
*
3
*/
4
5
/* Written by Niels Möller <nisse@lysator.liu.se>
6
*
7
* This file is hereby placed in the public domain.
8
*/
9
10
#include <string.h>
11
12
void
*
13
mempcpy (
void
*to,
const
void
*from,
size_t
size)
14
{
15
memcpy(to, from, size);
16
return
(
char
*) to + size;
17
}
18
Generated by
1.8.17