| Red Hat Documentation: man pages: man3: Linux Programmer's Manual (3) |
GETWSection: Linux Programmer's Manual (3)Updated: September 16, 2025 Index NAMEgetw, putw - input and output of words (ints)SYNOPSIS#include <stdio.h> int getw(FILE *stream); int putw(int w, FILE *stream); DESCRIPTIONgetw reads a word (that is, an int) from stream. It's provided for compatibility with SVID. We recommend you use putw writes the word w (that is, an int) to stream. It is provided for compatibility with SVID, but we recommend you useRETURN VALUESNormally, getw returns the word read, and putw returns the word written. On error, they return EOF.BUGSThe value returned on error is also a legitimate data value.CONFORMING TOSVIDSEE ALSO
IndexThis document was created by using the manual pages. Time: 11:58:04 GMT, March 24, 2025 |
|
© 2001 Red Hat, Inc. All rights reserved. About Red Hat : Legal statement : Privacy statement : Y2K statement : Contact Red Hat |