Updated PCI IDs to latest snapshot.
[tangerine.git] / compiler / clib / putw.c
blob8a9938cf92e53a918ba895626a0bbe2cdfa8f1ad
1 /*
2 Copyright © 2004, The AROS Development Team. All rights reserved.
3 $Id$
5 SVID function putw().
6 */
8 /*****************************************************************************
10 NAME */
12 #include <stdio.h>
14 int putw(
16 /* SYNOPSIS */
17 int word,
18 FILE *stream)
20 /* FUNCTION
22 INPUTS
24 RESULT
26 NOTES
28 EXAMPLE
30 BUGS
32 SEE ALSO
34 INTERNALS
36 ******************************************************************************/
38 if (fwrite(&word, sizeof(word), 1, stream) > 0) return 0;
39 else return EOF;