*** empty log message ***

This commit is contained in:
bdc 1995-10-31 22:06:02 +00:00
parent 9e39aeaae4
commit 37a38ee185
1 changed files with 13 additions and 0 deletions

View File

@ -70,3 +70,16 @@ int fbufcount(FILE* fs)
{
return(fs->_cnt);
}
/* Returns true if there is no buffered data in stream FS
** (or there is no buffering, period.)
*/
int ibuf_empty(FILE *fs) {return fs->_cnt <= 0;}
/* Returns true if the buffer in stream FS is full
** (or there is no buffering, period).
*/
int obuf_full(FILE *fs) {return fs->_cnt <= 0;}