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

NAME

6       COLS - number of columns on terminal screen
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       extern int COLS;
17
18

DESCRIPTION

20       The  external variable COLS indicates the number of columns on the ter‐
21       minal screen.
22

ATTRIBUTES

24       See attributes(5) for descriptions of the following attributes:
25
26
27
28
29       ┌─────────────────────────────┬─────────────────────────────┐
30       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
31       ├─────────────────────────────┼─────────────────────────────┤
32       │Interface Stability          │Standard                     │
33       ├─────────────────────────────┼─────────────────────────────┤
34       │MT-Level                     │Unsafe                       │
35       └─────────────────────────────┴─────────────────────────────┘
36

SEE ALSO

38       initscr(3XCURSES), libcurses(3XCURSES), attributes(5), standards(5)
39
40
41
42SunOS 5.11                        5 Jun 2002                    COLS(3XCURSES)
Impressum