Query: rfio_fseeko64
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RFIO_FSEEK(3) Rfio Library Functions RFIO_FSEEK(3)NAMErfio_fseek - positions/repositions a fileSYNOPSIS#include <sys/types.h> #include "rfio_api.h" int rfio_fseek (FILE *fp, long offset, int whence); Under Linux, for large files: #define _LARGEFILE64_SOURCE #include <sys/types.h> #include "rfio_api.h" int rfio_fseeko64 (FILE *fp, off64_t offset, int whence); For large files, under other systems: #include <sys/types.h> #include "rfio_api.h" int rfio_fseeko64 (FILE *fp, off64_t offset, int whence);DESCRIPTIONrfio_fseek positions/repositions to offset the file associated with the descriptor fp generated by a previous rfio_fopen. whence indicates how to interpret the offset value: SEEK_SET The offset is set from beginning of file. SEEK_CUR The offset is added to current position. SEEK_END The offset is added to current file size. rfio_fseeko64 can be used with large files and allows to use a 64 bit offset rather than a long.RETURN VALUEThis routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.ERRORSEBADF fp is not a valid descriptor. EINVAL incorrect value for whence. 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 ALSOrfio_fopen(3)AUTHORLCG Grid Deployment TeamLCG$Date: 2005/03/31 13:13:02 $ RFIO_FSEEK(3)
Related Man Pages |
---|
rfio_chown(3) - debian |
rfio_fseeko64(3) - debian |
rfio_ftello64(3) - debian |
rfio_lseek64(3) - debian |
rfio_preseek64(3) - debian |
Similar Topics in the Unix Linux Community |
---|
increment a value at an offset in hundreds very large hex file |