Is there any standard, cross-shell, and cross-platform way, in C, to get the number of lines one's terminal currently has?
I know the variable LINES is found in many shells, but is there a function which can be used to retrieve shell (not environment) variables?
I know the variable LINES is found in many shells, but is there a function which can be used to retrieve shell (not environment) variables?