Go to the first, previous, next, last section, table of contents.


tell

Syntax

#include <io.h>

off_t tell(int file);

Description

This function returns the location of the file pointer for file.

Return Value

The file pointer, or -1 on error.

Portability

not ANSI, not POSIX

Example

off_t q = tell(fd);


Go to the first, previous, next, last section, table of contents.