Writes characters to a specified file.
Format
#include <stdio.h>
int putw (int integer, FILE *file_ptr);
Arguments
- integer
- An object of type int or long.
- file_ptr
- A file pointer.
Description
This function writes four characters to the output file as an
int. No conversion is performed.
Return Values
integer | Indicates success. |
EOF | Indicates output
errors. |
Previous Page | Next Page | Table of Contents | Index