SYNOPSIS
#include <string.h>
void *memccpy(void *s1, const void *s2, int c, size_t n);
DESCRIPTION
The
PARAMETERS
- s1
-
Points to the memory area to which
memccpy() copies bytes. - s2
-
Points to the memory area from which
memccpy() copies bytes. - c
-
Represents the unsigned char that
memccpy() copied. After the first occurrence of this parameter,memccpy() stops its copy operation unless n bytes were copied first. - n
-
Represents the number of bytes that
memccpy() copied. This operation stops after n bytes has been reached, unless c came first.
RETURN VALUES
The
CONFORMANCE
UNIX 98.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.4 Documentation Build 39.