13.07.2015 Views

pcp_reference_guide_v2.5 - Tasking

pcp_reference_guide_v2.5 - Tasking

pcp_reference_guide_v2.5 - Tasking

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LIBRARIES2−36PCP Reference ManualCopying and concatenation functionsStdio.h Wchar.h Descriptionmemcpy(*s1,*s2,n)memmove(*s1,*s2,n)wmemcpy(*s1,*s2,n)wmemmove(*s1,*s2,n)Copies n characters from*s2 into *s1 and returns*s1. If *s1 and *s2 overlapthe result is undefined.Same as memcpy, butoverlapping strings arehandled correctly. Returns*s1.strcpy(*s1,*s2) wcscpy(*s1,*s2) Copies *s2 into *s1 andreturns *s1. If *s1 and *s2overlap the result isundefined.strncpy(*s1,*s2,n)wcsncpy(*s1,*s2,n)Copies not more than ncharacters from *s2 into*s1 and returns *s1. If *s1and *s2 overlap the resultis undefined.strcat(*s1,*s2) wcscat(*s1,*s2) Appends a copy of *s2 to*s1 and returns *s1. If *s1and *s2 overlap the resultis undefined.strncat(*s1,*s2,n)wcsncat(*s1,*s2,n)Appends not more than ncharacters from *s2 to *s1and returns *s1. If *s1 and*s2 overlap the result isundefined.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!