2008-11-10 23:29:21 +01:00
|
|
|
.TH TERMKEY_SET_FLAGS 3
|
|
|
|
.SH NAME
|
|
|
|
termkey_set_flags, termkey_get_flags \- control the operational flags
|
|
|
|
.SH SYNOPSIS
|
|
|
|
.nf
|
|
|
|
.B #include <termkey.h>
|
|
|
|
.sp
|
2009-07-15 21:40:44 +02:00
|
|
|
.BI "void termkey_set_flags(TermKey *" tk ", int " newflags );
|
|
|
|
.BI "int termkey_get_flags(TermKey *" tk );
|
2008-11-10 23:29:21 +01:00
|
|
|
.fi
|
|
|
|
.sp
|
|
|
|
Link with \fI-ltermkey\fP.
|
|
|
|
.SH DESCRIPTION
|
2012-01-21 01:52:13 +01:00
|
|
|
\fBtermkey_set_flags\fP() changes the set of operation flags in the \fBtermkey\fP(7) instance to those given by \fInewflags\fP.
|
2008-11-10 23:29:21 +01:00
|
|
|
.PP
|
2011-04-03 19:44:48 +02:00
|
|
|
\fBtermkey_get_flags\fP() returns the value set by the last call to \fBtermkey_set_flags\fP(), or the value given to the constructor.
|
2008-11-10 23:29:21 +01:00
|
|
|
.SH "RETURN VALUE"
|
|
|
|
\fBtermkey_set_flags\fP() returns no value. \fBtermkey_get_flags\fP() returns the current operational flags.
|
|
|
|
.SH "SEE ALSO"
|
2012-01-21 01:52:13 +01:00
|
|
|
.BR termkey_new (3),
|
|
|
|
.BR termkey (7)
|