mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 12:59:21 +08:00
sys/unistd.h: define GNU extensions SEEK_DATA and SEEK_HOLE
SEEK_DATA and SEEK_HOLE are GNU nonstandard extensions also present in Solaris, FreeBSD, and DragonFly BSD; they are proposed for inclusion in the next POSIX revision (Issue 8). Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
b9e867d088
commit
07092a52e9
@ -315,6 +315,10 @@ int unlinkat (int, const char *, int);
|
||||
# define SEEK_SET 0
|
||||
# define SEEK_CUR 1
|
||||
# define SEEK_END 2
|
||||
#if __GNU_VISIBLE
|
||||
# define SEEK_DATA 3
|
||||
# define SEEK_HOLE 4
|
||||
#endif
|
||||
|
||||
#include <sys/features.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user