COLS(3curses)


COLS -- number of columns on terminal screen

Synopsis

cc [options] file -lcurses
#include <curses.h>

extern int COLS;

Description

The external variable COLS indicates the number of columns on the terminal screen.

Standards Conformance

The Single UNIX Specification, Version 2; The Open Group.

References

initscr(3curses), curses(4)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004