| www.delorie.com/djgpp/doc/libc-2.01/libc_544.html | search |
#include <pc.h> int ScreenCols(void);
This function returns the number of columns of the screen. It does so by looking at the byte at the absolute address 40:4Ah in the BIOS area. In text modes, the meaning of number of columns is obvious; in graphics modes, this value is the number of columns of text available when using the video BIOS functions to write text.
The number of columns.
int available_columns = ScreenCols();
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |