Query: putwin
OS: netbsd
Section: 3
Links: netbsd man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CURSES_FILEIO(3) BSD Library Functions Manual CURSES_FILEIO(3)NAMEcurses_fileio, getwin, putwin -- curses file input/output routinesLIBRARYCurses Library (libcurses, -lcurses)SYNOPSIS#include <curses.h> WINDOW * getwin(FILE *fp); int putwin(WINDOW *win, FILE *fp);DESCRIPTIONThese functions read and write data to and from files. The getwin() function reads window data that has been stored in the file to which fp points, and then creates a new window using that data. The putwin() function writes window data from the window win to the file pointed to by fp.RETURN VALUESThe getwin() function returns one of the following values: OK The function completed successfully. ERR An error occurred in the function. The putwin() function returns NULL if an error is detected.SEE ALSOcurses_window(3), fread(3), fwrite(3)NOTESSubwindows can not be created by the getwin() function, nor written by the putwin() function.STANDARDSThe NetBSD Curses library complies with the X/Open Curses specification, part of the Single Unix Specification.HISTORYThese functions first appeared in NetBSD 5.0.BSDMarch 31, 2008 BSD
Related Man Pages |
---|
delay_output(3curses) - opensolaris |
putwin(3xcurses) - sunos |
getwin(3) - netbsd |
getwin(3xcurses) - sunos |
getwin(3xcurses) - opensolaris |
Similar Topics in the Unix Linux Community |
---|
Resize current window with Curses |