| 1 | // SPDX-License-Identifier: GPL-3.0-or-later |
|---|---|
| 2 | |
| 3 | #pragma once |
| 4 | |
| 5 | typedef enum |
| 6 | { |
| 7 | IO_SEEK_CURRENT = 1, // set to the current offset + the given value |
| 8 | IO_SEEK_END = 2, // set to the end of the file + the given value |
| 9 | IO_SEEK_SET = 3, // set to the given value |
| 10 | IO_SEEK_DATA = 4, |
| 11 | IO_SEEK_HOLE = 5, |
| 12 | } io_seek_whence_t; |
| 13 |