addstr.3cur

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

3CUR
110
字号
.TH addstr 3cur .SH Nameaddstr, waddstr, mvaddstr, mvwaddstr \- add string to window.SH Syntax.br.B#include <cursesX.h>.PP.br.Bint addstr(str).br.Bchar \(**str;.PP.Bint waddstr(win, str).br.BWINDOW \(**win;.br.Bchar \(**str;.PP.Bint mvaddstr(y, x, str).br.Bint y, x;.br.Bchar \(**str;.PP.Bint mvwaddstr(win, y, x, str).br.BWINDOW \(**win;.br.Bint y, x;.br.Bchar \(**str;.SH Description.NXR "addstr macro".NXR "waddstr subroutine".NXR "mvaddstr macro".NXR "mvwaddstr macro"The .PN addstrroutine writes all the characters of thenull-terminated character string .PN stron the default window at the current (y, x) coordinates..PPThe routine .PN waddstrwrites all the characters of thenull terminated character string .PN stron the specified window at the current (y, x) coordinates..PPThe routine .PN mvaddstrwrites all the characters of thenull terminated character string .PN stron the default window at the specified (y, x) coordinates..PPThe routine .PN mvwaddstrwrites all the characters of thenull terminated character string .PN stron the specified window at the specified (y, x) coordinates..PPThe following information applies to all the routines.All the routines return.PN ERRif writing the string causes illegal scrolling.In this casethe routine will write as much as possible of the stringon the window..PPThese routines are functionallyequivalent to calling .PN addch or.PN waddch once for each character in the string..PPThe routines .PN addstr, .PN mvaddstr, and .PN mvwaddstrare macros..SH Return ValuesThe.PN addstr ,.PN waddstr ,.PN mvaddstr ,and.PN mvwaddstrfunctions return OK on success and ERR on error..SH See Alsoaddch(3cur), waddch(3cur)

⌨️ 快捷键说明

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