-

Functions HI-TECH C PUTW

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search

PUTW

SYNOPSIS

#include  <stdio.h>

int putw(int w, FILE * stream)


DESCRIPTION

Putw() copies the word w to the given stream. It returns w, except on error, in which case EOF is returned. Since this is a good integer, ferror() should be used to check for errors.

SEE ALSO

getw, fopen, fclose