1mvprintw(3XCURSES)      X/Open Curses Library Functions     mvprintw(3XCURSES)
2
3
4

NAME

6       mvprintw, mvwprintw, printw, wprintw - print formatted output window
7

SYNOPSIS

9       cc [ flag... ] file... -I /usr/xpg4/include  -L  /usr/xpg4/lib \
10        -R  /usr/xpg4/lib  -lcurses  [ library... ]
11
12       c89 [ flag... ] file... -lcurses [ library... ]
13
14       #include <curses.h>
15
16       int mvprintw(int y, int x, char *fmt, ...);
17
18
19       int mvwprintw(WINDOW *win, int y, int x, char *fmt, ...);
20
21
22       int printw(char *fmt, ...);
23
24
25       int wprintw(WINDOW *win, char *fmt, ...);
26
27

PARAMETERS

29       y      Is  the y (row) coordinate position of the string's placement in
30              the window.
31
32
33       x      Is the x (column) coordinate position of the string's  placement
34              in the window.
35
36
37       fmt    Is a printf() format string.
38
39
40       win    Is a pointer to the window in which the string is to be written.
41
42

DESCRIPTION

44       The  mvprintw(),  mvwprintw(),  printw(),  and  wprintw() functions are
45       analogous to printf(3C). The effect of these  functions  is  as  though
46       sprintf()  were  used  to format the string, and then waddstr(3XCURSES)
47       were used to add that multi-byte string to  the  current  or  specified
48       window at the current or specified cursor position.
49

RETURN VALUES

51       Upon  successful completion, these functions return OK. Otherwise, they
52       return ERR.
53

ERRORS

55        No errors are defined.
56

ATTRIBUTES

58       See attributes(5) for descriptions of the following attributes:
59
60
61
62
63       ┌─────────────────────────────┬─────────────────────────────┐
64       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
65       ├─────────────────────────────┼─────────────────────────────┤
66       │Interface Stability          │Standard                     │
67       ├─────────────────────────────┼─────────────────────────────┤
68       │MT-Level                     │Unsafe                       │
69       └─────────────────────────────┴─────────────────────────────┘
70

SEE ALSO

72       addnstr(3XCURSES),  libcurses(3XCURSES),   printf(3C),   attributes(5),
73       standards(5)
74
75
76
77SunOS 5.11                        5 Jun 2002                mvprintw(3XCURSES)
Impressum