repo.or.cz
/
tangerine.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Don't call ReadArgs() if started from WB.
[tangerine.git]
/
compiler
/
clib
/
getw.c
blob
80d7bf2b2702fb1d20e6099358d17c6f0ce2b2ab
1
/*
2
Copyright © 2004, The AROS Development Team. All rights reserved.
3
$Id$
4
5
SVID function getw().
6
*/
7
8
#include <stdio.h>
9
10
int
getw
(
FILE
*
stream
)
11
{
12
int
word
;
13
14
if
(
fread
(&
word
,
sizeof
(
word
),
1
,
stream
) >
0
)
return
word
;
15
else return
EOF
;
16
}
17