aboutsummaryrefslogtreecommitdiff
path: root/termkey_set_canonflags.3
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-08-28 17:50:18 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-08-28 17:50:18 +0100
commit26384996486963bc2f097f44a82a5c07e0dfe69e (patch)
tree58c7da5748c3a635ff4cb49e419f3153552e6ca6 /termkey_set_canonflags.3
parent713351788373e764fc1c66ae1960b36ea6096b02 (diff)
downloadtermo-26384996486963bc2f097f44a82a5c07e0dfe69e.tar.gz
termo-26384996486963bc2f097f44a82a5c07e0dfe69e.tar.xz
termo-26384996486963bc2f097f44a82a5c07e0dfe69e.zip
Move canonicalisation flags into their own bitfield with their own accessor and named constants
Diffstat (limited to 'termkey_set_canonflags.3')
-rw-r--r--termkey_set_canonflags.321
1 files changed, 21 insertions, 0 deletions
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 <termkey.h>
+.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)