Don't call ReadArgs() if started from WB.
[tangerine.git] / compiler / clib / getw.c
blob80d7bf2b2702fb1d20e6099358d17c6f0ce2b2ab
1 /*
2 Copyright © 2004, The AROS Development Team. All rights reserved.
3 $Id$
5 SVID function getw().
6 */
8 #include <stdio.h>
10 int getw(FILE *stream)
12 int word;
14 if (fread(&word, sizeof(word), 1, stream) > 0) return word;
15 else return EOF;