1MEMCCPY(3)                 Linux Programmer's Manual                MEMCCPY(3)
2
3
4

NAME

6       memccpy - copy memory area
7

SYNOPSIS

9       #include <string.h>
10
11       void *memccpy(void *dest, const void *src, int c, size_t n);
12

DESCRIPTION

14       The memccpy() function copies no more than n bytes from memory area src
15       to memory area dest, stopping when the character c is found.
16
17       If the memory areas overlap, the results are undefined.
18

RETURN VALUE

20       The memccpy() function returns a pointer to the next character in  dest
21       after c, or NULL if c was not found in the first n characters of src.
22

CONFORMING TO

24       SVr4, 4.3BSD, POSIX.1-2001.
25

SEE ALSO

27       bcopy(3), memcpy(3), memmove(3), strcpy(3), strncpy(3)
28

COLOPHON

30       This  page  is  part of release 3.25 of the Linux man-pages project.  A
31       description of the project, and information about reporting  bugs,  can
32       be found at http://www.kernel.org/doc/man-pages/.
33
34
35
36GNU                               2009-01-13                        MEMCCPY(3)
Impressum