diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-07-23 21:45:57 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-07-23 21:45:57 -0400 |
commit | 798be72d127adf18f382323d0eed0a1e394967f8 (patch) | |
tree | d930a99c0fad2c37e5c8fd61c4c2d6a53d6a120e /posix/unistd.h | |
parent | 8accd4dccc82caee4979cc86d064ddd43853d77d (diff) | |
download | glibc-798be72d127adf18f382323d0eed0a1e394967f8.tar glibc-798be72d127adf18f382323d0eed0a1e394967f8.tar.gz glibc-798be72d127adf18f382323d0eed0a1e394967f8.tar.bz2 glibc-798be72d127adf18f382323d0eed0a1e394967f8.zip |
Define SEEK_DATA and SEEK_HOLE
Diffstat (limited to 'posix/unistd.h')
-rw-r--r-- | posix/unistd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/posix/unistd.h b/posix/unistd.h index 08a3d47463..9b416979c4 100644 --- a/posix/unistd.h +++ b/posix/unistd.h @@ -312,6 +312,10 @@ extern int faccessat (int __fd, __const char *__file, int __type, int __flag) # define SEEK_SET 0 /* Seek from beginning of file. */ # define SEEK_CUR 1 /* Seek from current position. */ # define SEEK_END 2 /* Seek from end of file. */ +# ifdef __USE_GNU +# define SEEK_DATA 3 /* Seek to next data. */ +# define SEEK_HOLE 4 /* Seek to next hole. */ +# endif #endif #if defined __USE_BSD && !defined L_SET |