06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

pREPC+ <strong>System</strong> <strong>Calls</strong> strcat<br />

strcat Appends one string to another string.<br />

#include <br />

char *strcat(<br />

char *s1, /* destination string */<br />

const char *s2 /* source string */<br />

)<br />

Description<br />

Arguments<br />

Return Value<br />

Notes<br />

This function appends a copy of one string (s2) to the end of another string (s1). The<br />

first character in the source string overwrites the terminating null character in the<br />

destination string. If copying takes place between strings that overlap, the behavior<br />

is undefined.<br />

This function returns the value of s1.<br />

Callable From<br />

■ Task<br />

■ ISR<br />

Error Codes<br />

s1 Points to the destination string.<br />

s2 Points to the source string.<br />

None.<br />

<strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong> 3-143<br />

3

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

Saved successfully!

Ooh no, something went wrong!