getwin man page on NetBSD

Man page or keyword search:  
man Server   9087 pages
apropos Keyword Search (all sections)
Output format
NetBSD logo
[printable version]

CURSES_FILEIO(3)	 BSD Library Functions Manual	      CURSES_FILEIO(3)

NAME
     curses_fileio, getwin, putwin — curses file input/output routines

LIBRARY
     Curses Library (libcurses, -lcurses)

SYNOPSIS
     #include <curses.h>

     WINDOW *
     getwin(FILE *fp);

     int
     putwin(WINDOW *win, FILE *fp);

DESCRIPTION
     These 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 VALUES
     The 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 ALSO
     curses_window(3), fread(3), fwrite(3)

NOTES
     Subwindows can not be created by the getwin() function, nor written by
     the putwin() function.

STANDARDS
     The NetBSD Curses library complies with the X/Open Curses specification,
     part of the Single Unix Specification.

HISTORY
     These functions first appeared in NetBSD 5.0.

BSD				March 31, 2008				   BSD
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server NetBSD

List of man pages available for NetBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net