$COLUMNS e' una variabile della bash...
Shell Variables
Builtin Shell Variables

* COLUMNS Numbers of columns on the display
* HISTSIZE Number of commands in command history (default 500)
* LINES Numbers of lines on the display
non e' un env. quindi questo non funziona...
codice:
#include <stdlib.h>
int colonne = getenv("COLUMNS");
int linee = getenv("LINES");
Come posso risolvere ???