Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
putw(3)
Edit
PageHistory
Diff
Info
LikePages
GETW !!!GETW NAME SYNOPSIS DESCRIPTION RETURN VALUE BUGS CONFORMING TO SEE ALSO ---- !!NAME getw, putw - input and output of words (ints) !!SYNOPSIS __#include __''stream''__); int putw(int__ ''w''__, FILE *__''stream''__); __ !!DESCRIPTION __getw__ reads a word (that is, an __int__) from ''stream''. It's provided for compatibility with SVID. We recommend you use fread(3) instead. __putw__ writes the word ''w'' (that is, an __int__) to ''stream''. It is provided for compatibility with SVID, but we recommend you use fwrite(3) instead. !!RETURN VALUE Normally, __getw__ returns the word read, and __putw__ returns 0. On error, they return __EOF__. !!BUGS The value returned on error is also a legitimate data value. ferror(3) can be used to distinguish between the two cases. !!CONFORMING TO SVID !!SEE ALSO fread(3), fwrite(3), ferror(3), getc(3), putc(3) ----
One page links to
putw(3)
:
Man3p
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.