Back to index

glibc  2.9
stpcpy.c
Go to the documentation of this file.
00001 #include <string.h>
00002 #include <stdio.h>
00003 
00004 int
00005 main (void)
00006 {
00007   char buffer[10];
00008   char *to = buffer;
00009   to = stpcpy (to, "foo");
00010   to = stpcpy (to, "bar");
00011   puts (buffer);
00012   return 0;
00013 }