inch.3cur

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3CUR 代码 · 共 115 行

3CUR
115 行
字号
.TH inch 3cur .SH Nameinch, mvinch, mvwinch, winch \- return character from window.SH Syntax.br.B#include <cursesX.h>.PP.br.Bchtype inch().PP.Bchtype winch(win).br.BWINDOW \(**win;.PP.Bchtype mvinch(y, x).br.Bint y, x;.PP.Bchtype mvwinch(win, y, x).br.BWINDOW \(**win;.br.Bint y, x;.SH Description.NXR "inch macro".NXR "mvinch macro".NXR "mvwinch macro".NXR "winch macro"The.PN inchroutinereturns the character at the current cursor position in the default window.If any attributes are set for that character, their values will be .PN or- ed into the value returned..PPThe routine.PN mvinchreturns the character at the specified position in the default window.If any attributes are set for that position, their values will be .PN or- edinto the value returned..PPThe.PN winch routinereturns the character at the current position in the named window.If any attributes are set for that position, their values will be .PN or- edinto the value returned..PPThe.PN mvwinchroutinereturns the character at the specified position in the named window.If any attributes are set for that position, their values will be .PN or- edinto the value returned..PPThe following information applies to all the routines..PPThe predefined constantsA_CHARTEXTandA_ATTRIBUTES,defined in .PN <cursesX.h> ,can be used with the .PN &(logical .PN and )operator to extract the character or attributes alone..PPThe.PN inch, .PN winch, .PN mvinchand .PN mvwinchroutinesare macros..SH Return ValuesUpon successful completion, the.PN inch ,.PN mvinch ,.PN mvwinchand.PN winchfunctions return the character at the selected position.  Otherwise, the.PN mvinchand.PN mvwinchfunctions return ERR.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?