s/putc_unlocked/putc/g for freebsd on alpha
[gsasl.git] / argp / mempcpy.c
blob6fa228b2c9f8443a36a0d6c5b3a891e3ec9c4d93
1 /* strndup.c
3 */
5 /* Written by Niels Möller <nisse@lysator.liu.se>
7 * This file is hereby placed in the public domain.
8 */
10 #include <string.h>
12 void *
13 mempcpy (void *to, const void *from, size_t size)
15 memcpy(to, from, size);
16 return (char *) to + size;