1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-07 12:21:14 +03:00
Files
glibc/manual/examples/stpcpy.c
Roland McGrath 28f540f45b initial import
1995-02-18 01:27:10 +00:00

14 lines
183 B
C

#include <string.h>
#include <stdio.h>
int
main (void)
{
char buffer[10];
char *to = buffer;
to = stpcpy (to, "foo");
to = stpcpy (to, "bar");
puts (buffer);
return 0;
}