home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer 7500
/
MAX_PROGRAMMERS.iso
/
CLIPPER
/
MISC
/
EMXLIB8F.ZIP
/
EMX
/
LIB
/
IO
/
PUTW.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
C/C++ Source or Header
|
1993-01-02
|
194 b
|
9 lines
/* putw.c (emx+gcc) -- Copyright (c) 1992-1993 by Kai Uwe Rommel */
#include <stdio.h>
int putw (int x, FILE *stream)
{
return (fwrite (&x, sizeof (x), 1, stream) == 1 ? x : EOF);
}