delorie.com/djgpp/doc/libc/libc_528.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ 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


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004