| Summary |
#include <string.h>
char far *fstrcpy (
char far *dst, /* destination string */
const char far *src); /* source string */
|
| Description | The fstrcpy function copies characters from src to dst up to and including the terminating null character. Note - This function uses far pointers to objects and may be used in any memory model other than Tiny Model.
|
| Return Value | The fstrcpy function returns dst. |
| See Also | fstrcat, fstrchr, fstrcmp, fstrcspn, fstrlen, fstrncat, fstrncmp, fstrncpy, fstrpbrk, fstrpos, fstrrchr, fstrrpbrk, fstrrpos, fstrspn, hstrcpy, strcpy, xstrcpy |
| Example |
#include <string.h>
#include <stdio.h> /* for printf */
void tst_strcpy (char far *s) {
char buf [21];
fstrcpy (buf, s);
fstrcat (buf, " #2");
printf ("new string is %s\n", buf);
}
|