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_INPUT_WAIT_MSEC(3) FreeBSD Library Functions Manual TICKIT_TERM_INPUT_WAIT_MSEC(3)

tickit_term_input_wait_* - read more data from the terminal

#include <tickit.h>

void tickit_term_input_wait_msec(TickitTerm *tt, long msec);
void tickit_term_input_wait_tv(TickitTerm *tt, const struct timeval *timeout);

Link with -ltickit.

The tickit_term_input_wait_*() family of functions wait for at least one input event to be received, up until the maximum time given. Calling these functions may block if the underlying file descriptor is in blocking mode. They may result in TICKIT_EV_KEY or TICKIT_EV_MOUSE events being invoked.

These functions also invoke deferred TICKIT_EV_RESIZE events if enabled by tickit_term_observe_sigwinch(3).

The functions differ in how the timeout is specified. tickit_term_input_wait_msec() takes a time as an integer in milliseconds, or -1 to wait indefinitely. tickit_term_input_wait_tv() takes a time as a struct timeval, or NULL to wait indefinitely.

tickit_term_input_wait_msec() and tickit_term_input_wait_tv() return no value.

tickit_term_build(3), tickit_term_input_readable(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.