[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

__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

ANSI/ISO C No
POSIX No