.\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk) .\" May be distributed under the GNU General Public License .\" References consulted: .\" Linux libc source code .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991) .\" 386BSD man pages .\" Modified Sat Jul 24 18:57:24 1993 by Rik Faith (faith@cs.unc.edu) .TH MEMCCPY 3 "April 10, 1993" "GNU" "Linux Programmer's Manual" .SH NAME memccpy \- copy memory area .SH SYNOPSIS .nf .B #include .sp .BI "void *memccpy(void *" dest ", const void *" src ", int " c ", size_t " n ); .fi .SH DESCRIPTION The \fBmemccpy()\fP function copies no more than \fIn\fP bytes from memory area \fIsrc\fP to memory area \fIdest\fP, stopping when the character \fIc\fP is found. .SH "RETURN VALUE" The \fBmemccpy()\fP function returns a pointer to the next character in \fIdest\fP after \fIc\fP, or NULL if \fIc\fP was not found in the first \fIn\fP characters of \fIsrc\fP. .SH "CONFORMING TO" SVID 3, BSD 4.3 .SH SEE ALSO .BR bcopy "(3), " memcpy "(3), " memmove "(3), " strcpy "(3), " strncpy (3)