diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2012-01-18 12:01:38 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2012-01-18 12:01:38 +0000 |
commit | 082b49f0f8790e2cf98346a03c53f492d9d5dcba (patch) | |
tree | 91d657db23e92b6b658dd4e73cecf1fb18c79188 /man/termkey_set_waittime.3 | |
parent | d64ba87edae62894ca74cfb9d6d8cdd88c213397 (diff) | |
download | termo-082b49f0f8790e2cf98346a03c53f492d9d5dcba.tar.gz termo-082b49f0f8790e2cf98346a03c53f492d9d5dcba.tar.xz termo-082b49f0f8790e2cf98346a03c53f492d9d5dcba.zip |
Move the growing collection of manpages into their own man/ subdirectory
Diffstat (limited to 'man/termkey_set_waittime.3')
-rw-r--r-- | man/termkey_set_waittime.3 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/man/termkey_set_waittime.3 b/man/termkey_set_waittime.3 new file mode 100644 index 0000000..0cc042f --- /dev/null +++ b/man/termkey_set_waittime.3 @@ -0,0 +1,22 @@ +.TH TERMKEY_SET_WAITTIME 3 +.SH NAME +termkey_set_waittime, termkey_get_waittime \- control the wait time for multibyte sequences +.SH SYNOPSIS +.nf +.B #include <termkey.h> +.sp +.BI "void termkey_set_waittime(TermKey *" tk ", int " msec ); +.BI "int termkey_get_waittime(TermKey *" tk ); +.fi +.sp +Link with \fI-ltermkey\fP. +.SH DESCRIPTION +\fBtermkey_set_waittime\fP() sets the number of miliseconds that \fBtermkey_waitkey\fP(3) will wait for the remaining bytes of a multibyte sequence if it detects the start of a partially-complete one. +.PP +\fBtermkey_get_waittime\fP() returns the value set by the last call to \fBtermkey_set_waittime\fP(), or the default value if a different has not been set. +.SH "RETURN VALUE" +\fBtermkey_set_waittime\fP() returns no value. \fBtermkey_get_waittime\fP() returns the current wait time in miliseconds. +.SH "SEE ALSO" +.BR termkey_new (3), +.BR termkey_getkey (3), +.BR termkey_waitkey (3) |