SYNOPSIS
#include <sys/types.h>
#include <unistd.h>
off_t tell(int fildes);
off64_t tell64(int fildes);
DESCRIPTION
The
The
PARAMETERS
RETURN VALUES
If successful,
- EBADF
-
An invalid file descriptor was given.
- ESPIPE
-
The file descriptor refers to a pipe, FIFO, or socket.
CONFORMANCE
4.4BSD.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
The value returned by
tell(fd);
is the same as is returned by
lseek(fd, 0, SEEK_CUR);
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
lseek()
- Miscellaneous:
- l64
PTC MKS Toolkit 10.5 Documentation Build 40.