-

Functions HI-TECH C PUTW

From HI-TECH C for CP/M Fan WIKI(EN)
Revision as of 22:59, 31 July 2017 by Kumokosi (talk | contribs) (Created page with "<strong>PUTW</strong> ==SYNOPSIS== #include <stdio.h> int putw(int w, FILE * stream) ==DESCRIPTION== <strong>Putw</strong>() copies the word w to the given strea...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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