aboutsummaryrefslogtreecommitdiff
path: root/termkey_set_flags.3
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-04-03 18:44:48 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-04-03 18:44:48 +0100
commitf23a55ab8257987c1fdd49ba406f885bf78190b3 (patch)
tree03a17875d87e215ceafe1127c779d47c2f31a646 /termkey_set_flags.3
parent574754d5f108a92d77dc4e01022091ed42ca0020 (diff)
downloadtermo-f23a55ab8257987c1fdd49ba406f885bf78190b3.tar.gz
termo-f23a55ab8257987c1fdd49ba406f885bf78190b3.tar.xz
termo-f23a55ab8257987c1fdd49ba406f885bf78190b3.zip
Various minor neatenings to manpage formatting
Diffstat (limited to 'termkey_set_flags.3')
-rw-r--r--termkey_set_flags.37
1 files changed, 3 insertions, 4 deletions
diff --git a/termkey_set_flags.3 b/termkey_set_flags.3
index c6f47a6..1d8f4e8 100644
--- a/termkey_set_flags.3
+++ b/termkey_set_flags.3
@@ -6,18 +6,17 @@ termkey_set_flags, termkey_get_flags \- control the operational flags
.B #include <termkey.h>
.sp
.BI "void termkey_set_flags(TermKey *" tk ", int " newflags );
-.br
.BI "int termkey_get_flags(TermKey *" tk );
.fi
.sp
Link with \fI-ltermkey\fP.
.SH DESCRIPTION
-\fBtermkey_set_flags\fP changes the set of operation flags in the termkey instance to those given by \fInewflags\fP.
+\fBtermkey_set_flags\fP() changes the set of operation flags in the termkey instance to those given by \fInewflags\fP.
.PP
-\fBtermkey_get_flags\fP returns the value set by the last call to \fBtermkey_set_flags\fP(), or the value given to the constructor.
+\fBtermkey_get_flags\fP() returns the value set by the last call to \fBtermkey_set_flags\fP(), or the value given to the constructor.
.PP
When the constructor is invoked, it attempts to detect if the current locale is UTF-8 aware or not, and sets either the \fBTERMKEY_FLAG_UTF8\fP or \fBTERMKEY_FLAG_RAW\fP flag. One of these two bits will always be returned by \fBtermkey_get_flags\fP().
.SH "RETURN VALUE"
\fBtermkey_set_flags\fP() returns no value. \fBtermkey_get_flags\fP() returns the current operational flags.
.SH "SEE ALSO"
-.BR termkey_new (3),
+.BR termkey_new (3)