GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
TICKIT_TERM_GET_SIZE(3) FreeBSD Library Functions Manual TICKIT_TERM_GET_SIZE(3)

tickit_term_get_size, tickit_term_set_size, tickit_term_refresh_size - manage terminal size

#include <tickit.h>

void tickit_term_get_size(TickitTerm *tt, int *lines, int *cols);
void tickit_term_set_size(TickitTerm *tt, int lines, int cols);
void tickit_term_refresh_size(TickitTerm *tt);

Link with -ltickit.

tickit_term_get_size() fetches the currently-known size of the terminal into the two integers supplied by pointers.

tickit_term_set_size() stores a new size for the terminal into the instance, and invokes any TICKIT_EV_RESIZE event handlers.

tickit_term_refresh_size() queries the size of the terminal by using the TIOCGWINSZ ioctl(2) call on the currently-associated output filehandle, and invokes any TICKIT_EV_RESIZE event handlers if the size has changed.

tickit_term_get_size, tickit_term_set_size and tickit_term_refresh_size return no value.

tickit_term_build(3), tickit_term_goto(3), tickit_term_bind_event(3), tickit_term(7), tickit(7)

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.