mirror of https://github.com/mkerrisk/man-pages
setbuf.3: tfix
Reported-by: Zhiheng Li <phoenix_lzh@sina.com> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
67238a538d
commit
b46edd9161
|
@ -229,7 +229,7 @@ int
|
||||||
main(void)
|
main(void)
|
||||||
{
|
{
|
||||||
char buf[BUFSIZ];
|
char buf[BUFSIZ];
|
||||||
setbuf(stdin, buf);
|
setbuf(stdout, buf);
|
||||||
printf("Hello, world!\en");
|
printf("Hello, world!\en");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue