|
|
@@ -411,16 +411,6 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) {
|
|
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
|
|
-func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
|
|
|
- _, _, e1 := Syscall9(SYS_FADVISE64, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(length), uintptr(length>>32), uintptr(advice), 0, 0)
|
|
|
- if e1 != 0 {
|
|
|
- err = errnoErr(e1)
|
|
|
- }
|
|
|
- return
|
|
|
-}
|
|
|
-
|
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
-
|
|
|
func Fallocate(fd int, mode uint32, off int64, len int64) (err error) {
|
|
|
_, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
|
|
|
if e1 != 0 {
|
|
|
@@ -1882,13 +1872,6 @@ func Truncate(path string, length int64) (err error) {
|
|
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
|
|
-func Fadvise(fd int, advice int64, offset int64, length int) {
|
|
|
- Syscall9(SYS_FADVISE64, uintptr(fd), 0, uintptr(advice), uintptr(advice>>32), uintptr(offset), uintptr(offset>>32), uintptr(length), 0, 0)
|
|
|
- return
|
|
|
-}
|
|
|
-
|
|
|
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
-
|
|
|
func Ftruncate(fd int, length int64) (err error) {
|
|
|
_, _, e1 := Syscall6(SYS_FTRUNCATE64, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0)
|
|
|
if e1 != 0 {
|