Back to index

glibc  2.9
Functions
stpcpy.c File Reference
#include <string.h>
#include <stdio.h>

Go to the source code of this file.

Functions

int main (void)

Function Documentation

int main ( void  )

Definition at line 5 of file stpcpy.c.

{
  char buffer[10];
  char *to = buffer;
  to = stpcpy (to, "foo");
  to = stpcpy (to, "bar");
  puts (buffer);
  return 0;
}

Here is the call graph for this function: