diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-09-23 01:38:08 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-09-23 03:05:01 +0200 |
commit | b630bf7a5f5ec85317db04f770ffc90664ac28f0 (patch) | |
tree | 52a0f40045809e71bc6fcac40d52e570f2fb2b59 /man/termkey_set_buffer_size.3 | |
parent | 7909067ac05e885211dafa255da0526543bb87bf (diff) | |
download | termo-b630bf7a5f5ec85317db04f770ffc90664ac28f0.tar.gz termo-b630bf7a5f5ec85317db04f770ffc90664ac28f0.tar.xz termo-b630bf7a5f5ec85317db04f770ffc90664ac28f0.zip |
WIP: Is mine now (^3^)
Seriously though, I've got some issues with how this thing is designed,
as well as with its formatting, and when you add the fact that the
original author wants to merge this thing into his bigger library that
also handles terminal output, which I'll kindly leave to ncurses,
it kind of makes sense for me to do this.
Manpages have been removed as they are going to become obsolete and
they're rather difficult to maintain. If anything, there will be
Doxygen-generated documentation.
The plan is to throw away any direct UTF-8 support and support all uni-
and multibyte character encodings. However some unrelated refactoring
is about to come first.
Diffstat (limited to 'man/termkey_set_buffer_size.3')
-rw-r--r-- | man/termkey_set_buffer_size.3 | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/man/termkey_set_buffer_size.3 b/man/termkey_set_buffer_size.3 deleted file mode 100644 index b3023fb..0000000 --- a/man/termkey_set_buffer_size.3 +++ /dev/null @@ -1,22 +0,0 @@ -.TH TERMKEY_SET_BUFFER_SIZE 3 -.SH NAME -termkey_set_buffer_size, termkey_get_buffer_size \- control the buffer size -.SH SYNOPSIS -.nf -.B #include <termkey.h> -.sp -.BI "int termkey_set_buffer_size(TermKey *" tk ", size_t " size ); -.BI "size_t termkey_get_buffer_size(TermKey *" tk ); -.fi -.sp -Link with \fI-ltermkey\fP. -.SH DESCRIPTION -\fBtermkey_set_buffer_size\fP() changes the size of the buffer space in the \fBtermkey\fP(7) instance to that given by \fIsize\fP. Any bytes pending in the buffer will be preserved when resizing, though they will be truncated if the new size is smaller than the total number of bytes in the buffer. -.PP -\fBtermkey_get_buffer_size\fP() returns the size of the buffer set by the last call to \fBtermkey_set_buffer_size\fP(), or the default initial size of 256 bytes. -.SH "RETURN VALUE" -\fBtermkey_set_buffer_size\fP() returns a true value, or zero if an error occurs. \fBtermkey_get_buffer_size\fP() returns the current buffer size in bytes. -.SH "SEE ALSO" -.BR termkey_new (3), -.BR termkey_get_buffer_remaining (3), -.BR termkey (7) |