|
| hstrcpy| Summary | |
#include <string.h>
char huge *hstrcpy (
char huge *dst, /* destination string */
const char huge *src); /* source string */
| | Description | | The hstrcpy function copies characters from src to dst up to and including the terminating null character. Note - This function uses huge pointers to objects.
| | Return Value | | The hstrcpy function returns dst. | | See Also | | strcpy | | Example | |
#include <string.h>
#include <stdio.h> /* for printf */
void tst_strcpy (char huge *s) {
char buf [21];
hstrcpy (buf, s);
printf ("new string is %s\n", buf);
}
|
|
|