termkey_set_buffer_size man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

TERMKEY_SET_BUFFER_SIZE(3)			    TERMKEY_SET_BUFFER_SIZE(3)

NAME
       termkey_set_buffer_size,	 termkey_get_buffer_size  - control the buffer
       size

SYNOPSIS
       #include <termkey.h>

       int termkey_set_buffer_size(TermKey *tk, size_t size);
       size_t termkey_get_buffer_size(TermKey *tk);

       Link with -ltermkey.

DESCRIPTION
       termkey_set_buffer_size() changes the size of the buffer space  in  the
       termkey(7)  instance  to	 that  given by size. 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 buf‐
       fer.

       termkey_get_buffer_size() returns the size of the  buffer  set  by  the
       last  call to termkey_set_buffer_size(), or the default initial size of
       256 bytes.

RETURN VALUE
       termkey_set_buffer_size() returns a true value, or  zero	 if  an	 error
       occurs.	termkey_get_buffer_size()  returns  the current buffer size in
       bytes.

SEE ALSO
       termkey_new(3), termkey_get_buffer_remaining(3), termkey(7)

						    TERMKEY_SET_BUFFER_SIZE(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net