Terminal control/Dimensions: Difference between revisions
Content added Content deleted
(add task to aarch64 assembly raspberry pi) |
Thundergnat (talk | contribs) m (Regularize non-standard header markup) |
||
Line 175: | Line 175: | ||
C provides no standard way to find the size of a terminal. |
C provides no standard way to find the size of a terminal. |
||
=== |
==={{libheader|BSD libc}}=== |
||
[[BSD]] systems (and some other [[Unix]] clones) have TIOCGWINSZ. This ioctl(2) call gets the "window size" of a tty(4) device. |
[[BSD]] systems (and some other [[Unix]] clones) have TIOCGWINSZ. This ioctl(2) call gets the "window size" of a tty(4) device. |
||