gno/lib/libc/tests/stdio/buffer.c
1997-09-05 06:46:33 +00:00

21 lines
270 B
C

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#if 0
#define STREAM stdout
#else
#define STREAM stderr
#endif
int main(int argc, char **argv) {
int i;
for (i=0; i<3; i++) {
fputc('x', STREAM);
sleep(1);
}
fputc('\n', STREAM);
exit(0);
}