mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-12-21 23:29:16 +00:00
21 lines
270 B
C
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);
|
|
}
|