INtime SDK Help
putw

Writes an integer to the current position of a stream.

#include <stdio.h>

int putw (int binint, FILE *stream);

Parameters

binint
Binary integer to be output.
stream
Pointer to FILE structure.

Remarks

putw does not affect the alignment of items in the stream, nor does it assume any special alignment.

Return Values

The value written.
Success.
EOF. Since EOF is also a legitimate integer value, use ferror to verify an error.
Failure.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/stdio.h stdio.h clib.lib

See Also

ferror, getw