mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-11-18 19:09:31 +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);
|
|
}
|