RFIO_FTELL(3) | Rfio Library Functions | RFIO_FTELL(3) |
rfio_ftell - tells the position in a stream
#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);
rfio_ftell returns the current position in the file stream pointed by fp.
This routine returns the position if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
LCG Grid Deployment Team
$Date: 2005/03/31 13:13:02 $ | LCG |