-

Difference between revisions of "Functions HI-TECH C PUTW"

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search
(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...")
 
(No difference)

Latest revision as of 22:59, 31 July 2017

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