1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

* io/Makefile (tests): Add tst-posix_fallocate.

* io/tst-posix_fallocate.c: New file.

	* sysdeps/unix/sysv/linux/kernel-features.h: Define
	__ASSUME_FALLOCATE.
This commit is contained in:
Ulrich Drepper
2007-07-23 18:09:13 +00:00
parent eb7721f232
commit c1bf9f14ab
4 changed files with 114 additions and 1 deletions

View File

@ -468,3 +468,8 @@
#if __LINUX_KERNEL_VERSION >= 0x020616
# define __ASSUME_PRIVATE_FUTEX 1
#endif
/* Support for fallocate was added in 2.6.23. */
#if __LINUX_KERNEL_VERSION >= 0x020617
# define __ASSUME_FALLOCATE 1
#endif