filelength
Returns the number of bytes in an open file
#include <nwfileio.h>
LONG filelength (
int fildes);
filelength returns a value of -1 if an error occurs.
If an error occurs, errno can be set to:
If filelength does not complete successfully, NetWareErrno is set.
The filelength function returns the number of bytes in the opened file indicated by the file handle.
#include <fcntl.h> LONG length; int handle; length = filelength (handle);