wprintw(3xcurses) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

wprintw(3xcurses)

X/Open Curses Library Functions                             mvprintw(3XCURSES)



NAME
       mvprintw, mvwprintw, printw, wprintw - print formatted output window

SYNOPSIS
       cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib \
       -R /usr/xpg4/lib -lcurses [ library... ]

       c89 [ flag... ] file... -lcurses [ library... ]

       #include <curses.h>

       int mvprintw(int y, int x, char *fmt, ...);


       int mvwprintw(WINDOW *win, int y, int x, char *fmt, ...);


       int printw(char *fmt, ...);


       int wprintw(WINDOW *win, char *fmt, ...);

PARAMETERS
       y      Is  the y (row) coordinate position of the string's placement in
              the window.


       x      Is the x (column) coordinate position of the string's  placement
              in the window.


       fmt    Is a printf() format string.


       win    Is a pointer to the window in which the string is to be written.


DESCRIPTION
       The  mvprintw(),  mvwprintw(),  printw(),  and  wprintw() functions are
       analogous to printf(3C). The effect of these  functions  is  as  though
       sprintf()  were  used  to format the string, and then waddstr(3XCURSES)
       were used to add that multibyte string to the current or specified win‐
       dow at the current or specified cursor position.

RETURN VALUES
       Upon  successful completion, these functions return OK. Otherwise, they
       return ERR.

ERRORS
       No errors are defined.

ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE  VALUE  _ Interface StabilityCommitted _ MT-LevelUnsafe _ Stan‐
       dardSee standards(7).


SEE ALSO
       printf(3C),  addnstr(3XCURSES),   libcurses(3XCURSES),   attributes(7),
       standards(7)



Oracle Solaris 11.4               11 May 2021               mvprintw(3XCURSES)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3