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
purge remaining gpl code from clib, and make clib build again
[tangerine.git]
/
compiler
/
clib
/
putw.c
blob
955c3e02c1eafbfe1dcf2ce398de450437847a6b
1
/*
2
Copyright © 2004, The AROS Development Team. All rights reserved.
3
$Id$
4
5
SVID function putw().
6
*/
7
8
#include <stdio.h>
9
10
int
putw
(
int
word
,
FILE
*
stream
)
11
{
12
if
(
fwrite
(&
word
,
sizeof
(
word
),
1
,
stream
) >
0
)
return
0
;
13
else return
EOF
;
14
}
15