Back to index

glibc  2.9
Defines | Functions
tst-setvbuf1.c File Reference
#include <stdio.h>
#include "../test-skeleton.c"

Go to the source code of this file.


#define TEST_FUNCTION   do_test ()


static int do_test (void)

Define Documentation

#define TEST_FUNCTION   do_test ()

Definition at line 18 of file tst-setvbuf1.c.

Function Documentation

static int do_test ( void  ) [static]

Definition at line 4 of file tst-setvbuf1.c.

  if (setvbuf (stderr, NULL, _IOFBF, BUFSIZ) != 0)
      puts ("Set full buffer error.");
      return 1;

  fprintf (stderr, "Output #1 <stderr>.\n");
  printf ("Output #2 <stdout>.\n");

  return 0;

Here is the call graph for this function: