cleanup composer/compositing/composition -> compositor
[AROS.git] / test / clib / stdin2.c
blob2b514785835133eff3b0f2739f25cd7fc25bedc7
1 #include <proto/dos.h>
2 #include <dos/stdio.h>
4 int main(void)
6 FPuts(Output(), "Type a line and it should be repeated\n");
8 UBYTE c;
9 BPTR in = Input(), out = Output();
10 Flush(in);
11 for (c = FGetC(in);
12 c != '\n' && c != ENDSTREAMCH;
13 c = FGetC(in)
15 FPutC(out, c);
16 FPutC(out, '\n');
18 return 0;