Returns characters from a specified file.
#include <stdio.h> int getw (FILE *file_ptr);
x | The next four characters, in an int. |
EOF | Indicates that the end-of-file was encountered during the retrieval of any of the four characters and all four characters were lost. Since EOF is an acceptable integer, use feof and ferror to check the success of the function. |