#include "petsc.h" int PetscBinarySeek(int fd,int size,PetscBinarySeekType whence,int *offset)Not Collective
fd | - the file | |
whence | - if PETSC_BINARY_SEEK_SET then size is an absolute location in the file if PETSC_BINARY_SEEK_CUR then size is offset from current location if PETSC_BINARY_SEEK_END then size is offset from end of file | |
size | - number of bytes to move. Use PETSC_BINARY_INT_SIZE, PETSC_BINARY_SCALAR_SIZE, etc. in your calculation rather than sizeof() to compute byte lengths. |
Level:developer
Location:src/sys/src/fileio/sysio.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages