From 26384996486963bc2f097f44a82a5c07e0dfe69e Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Sun, 28 Aug 2011 17:50:18 +0100 Subject: Move canonicalisation flags into their own bitfield with their own accessor and named constants --- termkey_set_canonflags.3 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 termkey_set_canonflags.3 (limited to 'termkey_set_canonflags.3') diff --git a/termkey_set_canonflags.3 b/termkey_set_canonflags.3 new file mode 100644 index 0000000..f5332be --- /dev/null +++ b/termkey_set_canonflags.3 @@ -0,0 +1,21 @@ +.TH TERMKEY_SET_CANONFLAGS 3 +.SH NAME +termkey_set_canonflags, termkey_get_canonflags \- control the canonicalisation flags +.SH SYNOPSIS +.nf +.B #include +.sp +.BI "void termkey_set_canonflags(TermKey *" tk ", int " newflags ); +.BI "int termkey_get_canonflags(TermKey *" tk ); +.fi +.sp +Link with \fI-ltermkey\fP. +.SH DESCRIPTION +\fBtermkey_set_canonflags\fP() changes the set of canonicalisation flags in the termkey instance to those given by \fInewflags\fP. For detail on the available flags and their meaning, see \fBtermkey_set_canonflags\fP(3). +.PP +\fBtermkey_get_canonflags\fP() returns the value set by the last call to \fBtermkey_set_canonflags\fP(). +.SH "RETURN VALUE" +\fBtermkey_set_flags\fP() returns no value. \fBtermkey_get_flags\fP() returns the current canonicalisation flags. +.SH "SEE ALSO" +.BR termkey_new (3), +.BR termkey_canonicalise (3) -- cgit v1.2.3-54-g00ecf