Back to index

glibc  2.9
Defines | Functions | Variables
strncat.c File Reference
#include <string.h>
#include <stdio.h>

Go to the source code of this file.


#define SIZE   10


 main ()


static char buffer [SIZE]

Define Documentation

#define SIZE   10

Definition at line 4 of file strncat.c.

Function Documentation

main ( void  )

Definition at line 8 of file strncat.c.

  strncpy (buffer, "hello", SIZE);
  puts (buffer);
  strncat (buffer, ", world", SIZE - strlen (buffer) - 1);
  puts (buffer);

Here is the call graph for this function:

Variable Documentation

char buffer[SIZE] [static]

Definition at line 6 of file strncat.c.