📄 initscr.3cur
字号:
.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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -