Go to the first, previous, next, last section, table of contents.


__libc_termios_exist_queue

Syntax

#include <libc/ttyprvt.h>

int __libc_termios_exist_queue (void);

Description

This function checks whether there are any characters buffered in the termios internal queue. Functions that work on file handles which might be hooked by termios should call this function before they invoke system calls which test if there are any characters available for input.

Return Value

Non-zero if some characters are buffered, zero otherwise.

Portability

not ANSI, not POSIX


Go to the first, previous, next, last section, table of contents.