?? printw.3cur
字號:
.TH printw 3cur .SH Nameprintw, mvprintw, mvwprintw, wprintw \- formatted write to a window.SH Syntax.br.B#include <cursesX.h>.PP.br.Bint printw(fmt [, arg] ...).br.Bchar \(**fmt;.PP.Bint wprintw(win, fmt [, arg] ...).brWINDOW \(**win;.br.Bchar \(**fmt;.PP.Bint mvprintw(y, x, fmt [, arg] ...).br.Bint y, x;.br.Bchar \(**fmt;.PP.Bint mvwprintw(win, y, x, fmt [, arg] ...).br.BWINDOW \(**win;.br.Bint y, x;.br.Bchar \(**fmt;.SH Description.NXR "printw subroutine".NXR "wprintw subroutine".NXR "mvprintw subroutine".NXR "mvwprintw subroutine".NXA "printf subroutine" "printw subroutine"The.PN printwroutineadds a string to the default window starting at the current cursor position.This routine causes the string that would normally be output by .PN printf to be output by .PN addstr ..PPThe routine.PN wprintwadds a string to the specified window starting at the current cursor position.This routine causes the stringthat would normally be output by .PN printf to be output by .PN waddstr ..PPThe routine.PN mvprintwadds a string to the default window starting at the specified cursor position.This routine causes the stringthat would normally be output by .PN printf to be output by .PN addstr ..PPThe routine.PN mvwprintwadds a string to the specified window starting at the specified cursor position.This routine causes the stringthat would normally be output by .PN printf to be output by .PN waddstr ..PPAll these routines are analogous to .PN printf .It is advisable to use the field width options of .PN printf to avoid leaving unwanted characters on the screen from earlier calls..SH Return ValuesThe.PN printw ,.PN mvprintw ,.PN mvwprintw ,and.PN wprintwfunctions return OK on success and ERR on error..SH See Alsoaddstr(3cur), waddstr(3cur), printf(3s)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -