:orphan:
# PetscBinarySeekType
argument to `PetscBinarySeek()` 
## Synopsis
```
typedef enum {
  PETSC_BINARY_SEEK_SET = 0,
  PETSC_BINARY_SEEK_CUR = 1,
  PETSC_BINARY_SEEK_END = 2
} PetscBinarySeekType;
```

## Values

- ***`PETSC_BINARY_SEEK_SET` -*** offset is an absolute location in the file
- ***`PETSC_BINARY_SEEK_CUR` -*** offset is an offset from the current location of the file pointer
- ***`PETSC_BINARY_SEEK_END` -*** offset is an offset from the end of the file





## See Also
 `PetscBinarySeek()`, `PetscBinarySynchronizedSeek()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petscsystypes.h.html#PetscBinarySeekType">include/petscsystypes.h</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscsystypes.h)


[Index of all Sys routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
