mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 14:30:06 +00:00
14 lines
183 B
C
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;
|
|
}
|