* sysdeps/unix/sysv/linux/fork.c (__libc_fork): Add memory barrier
[glibc.git] / stdio-common / tst-setvbuf1.c
blob22410939c99b89537e94d8008e8816971f4a73c3
1 #include <stdio.h>
3 static int
4 do_test (void)
6 if (setvbuf (stderr, NULL, _IOFBF, BUFSIZ) != 0)
8 puts ("Set full buffer error.");
9 return 1;
12 fprintf (stderr, "Output #1 <stderr>.\n");
13 printf ("Output #2 <stdout>.\n");
15 return 0;
18 #define TEST_FUNCTION do_test ()
19 #include "../test-skeleton.c"