Check for SYS/GL during library init. Reason is that
[AROS.git] / test / clib / stdin1.c
blob5229b678c4ec2459bad045ffd533d8603c341f6b
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <proto/dos.h>
7 #include <dos/stdio.h>
9 int main(void)
11 FPuts(Output(), "The command line arguments should be printed on next line\n");
13 UBYTE c;
14 BPTR in = Input(), out = Output();
15 for (c = FGetC(in);
16 c != '\n' && c != ENDSTREAMCH;
17 c = FGetC(in)
19 FPutC(out, c);
20 FPutC(out, '\n');
22 return 0;