_putw

Writes an unsigned short to a stream.

int _putw (int s, FILE * stream);

Required Header
<stdio.h>

Return Value

This function returns the unsigned short written or EOF if an error has occured.

Parameters

s

  The unsigned short to write

stream

  A pointer to the open FILE structure

Stream I/O Routines

See Also    _getw