diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-04-20 15:20:22 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-04-20 15:20:22 -0400 |
commit | 1c76683cb4377a481dc1085b63170bb276512267 (patch) | |
tree | fbc25efce68bd90f919f3afde534e8341055bc7a /arch/x86_64/bits/syscall.h | |
parent | 145c05345d6172eef1c8c274d696dbe1c01b88ab (diff) | |
download | musl-1c76683cb4377a481dc1085b63170bb276512267.tar.gz musl-1c76683cb4377a481dc1085b63170bb276512267.tar.bz2 musl-1c76683cb4377a481dc1085b63170bb276512267.tar.xz musl-1c76683cb4377a481dc1085b63170bb276512267.zip |
add syscall wrappers for posix_fadvise, posix_fallocate
Diffstat (limited to 'arch/x86_64/bits/syscall.h')
-rw-r--r-- | arch/x86_64/bits/syscall.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/bits/syscall.h b/arch/x86_64/bits/syscall.h index 21d4c23a..2339d2e5 100644 --- a/arch/x86_64/bits/syscall.h +++ b/arch/x86_64/bits/syscall.h @@ -375,6 +375,7 @@ static inline long __syscall6(long __n, long __a1, long __a2, long __a3, long __ #define __NR_pread __NR_pread64 #define __NR_pwrite __NR_pwrite64 #define __NR_getdents __NR_getdents64 +#define __NR_fadvise __NR_fadvise64 @@ -692,5 +693,6 @@ static inline long __syscall6(long __n, long __a1, long __a2, long __a3, long __ #define SYS_pread SYS_pread64 #define SYS_pwrite SYS_pwrite64 #define SYS_getdents SYS_getdents64 +#define SYS_fadvise SYS_fadvise64 |