int PetscBinarySeek(int fd,int size,PetscBinarySeekType whence)Not Collective
fd | - the file |
whence | - if BINARY_SEEK_SET then size is an absolute location in the file if BINARY_SEEK_CUR then size is offset from current location if BINARY_SEEK_END then size is offset from end of file |
size | - number of bytes to move. Use PETSC_INT_SIZE, BINARY_SCALAR_SIZE, etc. in your calculation rather than sizeof() to compute byte lengths. |
Location: src/sys/src/fileiosysio.c
System Index
Table of Contents