debian man page for rfio_ftell

Query: rfio_ftell

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

RFIO_FTELL(3)						      Rfio Library Functions						     RFIO_FTELL(3)

NAME
rfio_ftell - tells the position in a stream
SYNOPSIS
#include <sys/types.h> #include "rfio_api.h" long rfio_ftell (FILE *fp); Under Linux, for large files: #define _LARGEFILE64_SOURCE #include <sys/types.h> #include "rfio_api.h" off64_t rfio_ftello64 (FILE *fp); For large files, under other systems: #include <sys/types.h> #include "rfio_api.h" off64_t rfio_ftello64 (FILE *fp);
DESCRIPTION
rfio_ftell returns the current position in the file stream pointed by fp.
RETURN VALUE
This routine returns the position if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appro- priately.
ERRORS
EBADF fp is not a valid descriptor. SENOSHOST Host unknown. SENOSSERV Service unknown. SETIMEDOUT Timed out. SEBADVERSION Version ID mismatch. SEINTERNAL Internal error. SECONNDROP Connection closed by remote end. SECOMERR Communication error.
SEE ALSO
rfio_fopen(3)
AUTHOR
LCG Grid Deployment Team
LCG
$Date: 2005/03/31 13:13:02 $ RFIO_FTELL(3)
Related Man Pages
rfio_fopen(3) - debian
rfio_fseek(3) - debian
rfio_lockf(3) - debian
rfio_popen(3) - debian
rfio_readdir(3) - debian
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Detecting unused variables...
One instance of comparing grep and awk
Find columns in a file based on header and print to new file
How to copy a column of multiple files and paste into new excel file (next to column)?