logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

termkey_get_buffer_remaining - returns the free buffer space

Description

termkey_get_buffer_remaining()  returns  the  number  of  bytes  of  buffer  space  currently free in the
       termkey(7) instance. These bytes  are  free  to  use  by  termkey_push_bytes(3),  or  may  be  filled  by
       termkey_advisereadable(3).

Name

       termkey_get_buffer_remaining - returns the free buffer space

Return Value

termkey_get_buffer_remaining() returns a size in bytes.

See Also

termkey_push_bytes(3), termkey_advisereadable(3), termkey_set_buffer_size(3), termkey_get_buffer_size(3),
       termkey_getkey(3), termkey(7)

                                                                                 TERMKEY_GET_BUFFER_REMAINING(3)

Synopsis

#include<termkey.h>size_ttermkey_get_buffer_remaining(TermKey*tk);

       Link with -ltermkey.

See Also