PUTW(3)

NAME
4.49 `putw'--write a word (int)

SYNOPSIS
     #include <stdio.h>
     int putw(int W, FILE *FP);

DESCRIPTION
`putw' is a function, defined in `stdio.h'. You can use `putw' to write a word to the file or stream identified by FP. As a side effect, `putw' advances the file's current position indicator.

RETURNS
Zero on success, `EOF' on failure.

PORTABILITY
`putw' is a remnant of K&R C; it is not part of any ISO C Standard. `fwrite' should be used instead. In fact, this implementation of `putw' is based upon `fwrite'.
   Supporting OS subroutines required: `fwrite'.

SEE ALSO
putw is part of the library. The full documentation for is maintained as a Texinfo manual. If info and are properly installed at your site, the command

    info

will give you access to the complete manual.