gtty.2
来自「UNIX版本6的源代码」· 2 代码 · 共 38 行
2
38 行
.th GTTY II 8/5/73.sh NAMEgtty \*- get typewriter status.sh SYNOPSIS(gtty = 32.).br(file descriptor in r0).ft B.brsys gtty; arg.br.li....brarg: .=.+6.s3gtty(fildes, arg).brint arg[3];.ft R.sh DESCRIPTION.it Gttystores in the three words addressed by.it argthe statusof the typewriter whose file descriptor is given in r0(resp. given as the first argument).The format is the same as that passed by.it stty..sh "SEE ALSO"stty (II).sh DIAGNOSTICSError bit(c-bit) is set if the file descriptor does not referto a typewriter.From C, a \*-1 value is returned for anerror, 0, for a successful call.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?