repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* sysdeps/i386/dl-machine.h (elf_machine_rel): Implement
[glibc.git]
/
stdio-common
/
tst-setvbuf1.c
blob
22410939c99b89537e94d8008e8816971f4a73c3
1
#include <stdio.h>
2
3
static int
4
do_test
(
void
)
5
{
6
if
(
setvbuf
(
stderr
,
NULL
,
_IOFBF
,
BUFSIZ
) !=
0
)
7
{
8
puts
(
"Set full buffer error."
);
9
return
1
;
10
}
11
12
fprintf
(
stderr
,
"Output #1 <stderr>.
\n
"
);
13
printf
(
"Output #2 <stdout>.
\n
"
);
14
15
return
0
;
16
}
17
18
#define TEST_FUNCTION do_test ()
19
#include
"../test-skeleton.c"