initscr.3cur
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3CUR 代码 · 共 54 行
3CUR
54 行
.TH initscr 3cur .SH Nameinitscr \- initialize terminal environment.SH Syntax.br.B#include <cursesX.h>.PP.br.BWINDOW \(**initscr .SH Description.NXR "initscr subroutine".NXA "initscr subroutine" "refresh macro".NXA "initscr subroutine" "newterm subroutine"This routine determines the terminal type, initializes all.PN cursesdatastructures and allocates memory space for the windows. It also arranges that the first call to the.PN refresh routine will clear the screen..PPThe first routine called in a program using.PN curses routines should almost always be .PN initscr .If errors occur, .PN initscrwill write an appropriate error message to standard error and exit.If the program needs an indication of error conditions, .PN newterm should be used instead of .PN initscr ..PPNote that the .PN cursesprogram should only call .PN initscronce as it may overflow core memory if it is called repeatedly.If this does occur, ERR is returned..SH Return ValuesThe.PN initscrfunction returns .PN stdscron success, and calls.PN exiton error..SH See Alsonewterm(3cur), refresh(3cur)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?