1mvcur(3XCURSES) X/Open Curses Library Functions mvcur(3XCURSES)
2
3
4
6 mvcur - move the cursor
7
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 mvcur(int oldrow, int oldcol, int newrow, int newcol);
17
18
20 oldrow Is the row from which cursor is to be moved.
21
22
23 oldcol Is the column from which cursor is to be moved.
24
25
26 newrow Is the row to which cursor is to be moved.
27
28
29 newcol Is the column to which cursor is to be moved.
30
31
33 The mvcur() function is a low-level function used only outside of
34 X/Open Curses when the program has to deal directly with the terminfo
35 database to handle certain terminal capabilities. The use of appropri‐
36 ate X/Open Curses functions is recommended in all other situations, so
37 that X/Open Curses can track the cursor.
38
39
40 The mvcur() function moves the cursor from the location specified by
41 oldrow and oldcol to the location specified by newrow and newcol. A
42 program using this function must keep track of the current cursor posi‐
43 tion.
44
46 On success, the mvcur() function returns OK. Otherwise, it returns ERR.
47
49 None.
50
52 See attributes(5) for descriptions of the following attributes:
53
54
55
56
57 ┌─────────────────────────────┬─────────────────────────────┐
58 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
59 ├─────────────────────────────┼─────────────────────────────┤
60 │Interface Stability │Standard │
61 ├─────────────────────────────┼─────────────────────────────┤
62 │MT-Level │Unsafe │
63 └─────────────────────────────┴─────────────────────────────┘
64
66 libcurses(3XCURSES), attributes(5), standards(5)
67
68
69
70SunOS 5.11 5 Jun 2002 mvcur(3XCURSES)