rfio_ftell man page

RFIO_FTELL(3)               Rfio Library Functions               RFIO_FTELL(3)

[1mNAME[0m
      rfio_ftell - tells the position in a stream

[1mSYNOPSIS[0m
      [1m#include <sys/types.h>[0m
      [1m#include "rfio_api.h"[0m

      [1mlong rfio_ftell (FILE *[4m[22mfp[24m[1m);[0m

      Under Linux, for large files:
      [1m#define _LARGEFILE64_SOURCE[0m
      [1m#include <sys/types.h>[0m
      [1m#include "rfio_api.h"[0m

      [1moff64_t rfio_ftello64 (FILE *[4m[22mfp[24m[1m);[0m

      For large files, under other systems:
      [1m#include <sys/types.h>[0m
      [1m#include "rfio_api.h"[0m

      [1moff64_t rfio_ftello64 (FILE *[4m[22mfp[24m[1m);[0m

[1mDESCRIPTION[0m
      [1mrfio_ftell  [22mreturns  the current position in the file stream pointed by
      [4mfp[24m.

[1mRETURN VALUE[0m
      This routine returns the position if the operation was successful or -1
      if  the  operation  failed. In the latter case, [1mserrno [22mis set appropri-
      ately.

[1mERRORS[0m
      [1mEBADF        [4m[22mfp[24m is not a valid descriptor.

      [1mSENOSHOST    [22mHost unknown.

      [1mSENOSSERV    [22mService unknown.

      [1mSETIMEDOUT   [22mTimed out.

      [1mSEBADVERSION [22mVersion ID mismatch.

      [1mSEINTERNAL   [22mInternal error.

      [1mSECONNDROP   [22mConnection closed by remote end.

      [1mSECOMERR     [22mCommunication error.

[1mSEE ALSO[0m
      [1mrfio_fopen(3)[0m

[1mAUTHOR[0m
      [1mLCG Grid Deployment [22mTeam

LCG                      $Date: 2005/03/31 13:13:02 $            RFIO_FTELL(3)

Referenced By

rfio_ftello64(3) is an alias of rfio_ftell(3).