Writes characters to a specified file.
Format
#include <stdio.h>
int putw (int integer, FILE *file_ptr);
1 – Arguments
integer
An object of type int or long.
file_ptr
A file pointer.
2 – Description
The putw function writes four characters to the output file as an
int. No conversion is performed.
3 – Return Values
integer Indicates success.
EOF Indicates output errors.