#include <stdio.h> int getw(FILE *file);
Reads a single binary word in native format from file.
See section putw.
The value read, or EOF
for end-of-file or error. Since
EOF
is a valid integer, you should use feof
or
ferror
to detect this situation.
not ANSI, not POSIX
int i = getw(stdin);
Go to the first, previous, next, last section, table of contents.