add missing files
[glibc.git] / manual / examples / stpcpy.c
blobb83226354ba96b886ffd431b326d0d2ea9837b0e
1 #include <string.h>
2 #include <stdio.h>
4 int
5 main (void)
7 char buffer[10];
8 char *to = buffer;
9 to = stpcpy (to, "foo");
10 to = stpcpy (to, "bar");
11 puts (buffer);
12 return 0;