purge remaining gpl code from clib, and make clib build again
[tangerine.git] / compiler / clib / putw.c
blob955c3e02c1eafbfe1dcf2ce398de450437847a6b
1 /*
2 Copyright © 2004, The AROS Development Team. All rights reserved.
3 $Id$
5 SVID function putw().
6 */
8 #include <stdio.h>
10 int putw(int word, FILE *stream)
12 if (fwrite(&word, sizeof(word), 1, stream) > 0) return 0;
13 else return EOF;