setupterm.3cur
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3CUR 代码 · 共 64 行
3CUR
64 行
.TH setupterm 3cur.SH Namesetupterm \- perform low level terminal setup.SH Syntax.Bsetupterm(term, filenum, errret).br.Bchar *term;.br.Bint filenum;.br.Bint *errret;.SH Description.NXR "setupterm subroutine"This function sets up the terminal from the .PN terminfodatabase.The parameter .PN termis the terminal type.If this parameter is set to .PN NULLthen the environment variable.PN TERM will be used.The .PN filenumparameter is an ULTRIXfile descriptor, not a .PN stdiopointer.It is used for all the output generated by .PN setupterm ..PPThe .PN terminfoboolean, numeric and string values are stored in a structure of type.PN TERMINAL ..PPAfter .PN setuptermreturns successfully the variable .PN cur_termis initialized.This variable points to the .PN TERMINALstructure.The.PN cur_term pointer can be saved before calling .PN setupterm again as further calls to .PN setuptermallocate new space; the space pointed to by .PN cur_term is not overwritten. .SH See Alsorestartterm(3cur)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?