(C) 1998 AROS - The Amiga Research OS


NAME
#include <stdio.h>

long ftell ()

SYNOPSIS
FILE * stream

FUNCTION
Tell the current position in a stream.

INPUTS
stream
Obtain position of this stream

RESULT
The position on success and -1 on error. If an error occurred, the global variable errno is set.

EXAMPLE

SEE ALSO
fopen(), fseek(), fwrite()

NOTES

BUGS

INTERNALS

HISTORY
26.05.1999 hkiel
Finally fixed fseek() bug, ie. added missing Flush() before Seek()
24.05.1999 hkiel
Added std. CLib function