#include "config.h"
#include <string.h>
#include <limits.h>
Include dependency graph for memccpy.c:
Functions | |
void * | memccpy (void *dest, const void *src, int c, size_t n) |
Copy memory until c is found. |
void* memccpy | ( | void * | dest, | |
const void * | src, | |||
int | c, | |||
size_t | n | |||
) |
Copy memory until c is found.
Copies no more than n bytes from memory area src to memory area dest, stopping after the character c is copied and found.
dest | pointer to destination area | |
src | pointer to source area | |
c | terminating byte | |
n | size of destination area |