Finstat

Section: Oct. 1, 1991 (2)
Updated: MiNT Programmer's Manual
Index Return to Main Contents
 

NAME

Finstat - determine input status for a file  

SYNOPSIS

LONG Finstat( WORD fh );
 

DESCRIPTION

Finstat returns the number of bytes of input waiting on the file whose GEMDOS handle is fh, or 0 if no input is available on that handle.  

RETURNS

0 or a positive number if successful

EIHNDL if fh is not a valid handle for an open file.  

SEE ALSO

Cauxis(2), Cconis(2), Fcntl(2), Foutstat(2)  

BUGS

Always returns 1 for disk files.

Doesn't check to see if the indicated file was opened for reading.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURNS
SEE ALSO
BUGS

This document was created by man2html, using the manual pages.
Time: 16:01:23 GMT, March 03, 2023