diff options
Diffstat (limited to 'libgo/go/syscall/libcall_posix_regfile.go')
-rw-r--r-- | libgo/go/syscall/libcall_posix_regfile.go | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libgo/go/syscall/libcall_posix_regfile.go b/libgo/go/syscall/libcall_posix_regfile.go index b71da0ceb48..97167013a18 100644 --- a/libgo/go/syscall/libcall_posix_regfile.go +++ b/libgo/go/syscall/libcall_posix_regfile.go @@ -7,32 +7,32 @@ package syscall -//sys Fstat(fd int, stat *Stat_t) (errno int) +//sys Fstat(fd int, stat *Stat_t) (err error) //fstat(fd int, stat *Stat_t) int -//sys Ftruncate(fd int, length int64) (errno int) +//sys Ftruncate(fd int, length int64) (err error) //ftruncate(fd int, length Offset_t) int -//sys Lstat(path string, stat *Stat_t) (errno int) +//sys Lstat(path string, stat *Stat_t) (err error) //lstat(path *byte, stat *Stat_t) int -//sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, errno int) +//sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) //mmap(addr *byte, length Size_t, prot int, flags int, fd int, offset Offset_t) *byte -//sys Open(path string, mode int, perm uint32) (fd int, errno int) +//sys Open(path string, mode int, perm uint32) (fd int, err error) //open(path *byte, mode int, perm Mode_t) int -//sys Pread(fd int, p []byte, offset int64) (n int, errno int) +//sys Pread(fd int, p []byte, offset int64) (n int, err error) //pread(fd int, buf *byte, count Size_t, offset Offset_t) Ssize_t -//sys Pwrite(fd int, p []byte, offset int64) (n int, errno int) +//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) //pwrite(fd int, buf *byte, count Size_t, offset Offset_t) Ssize_t -//sys Seek(fd int, offset int64, whence int) (off int64, errno int) +//sys Seek(fd int, offset int64, whence int) (off int64, err error) //lseek(fd int, offset Offset_t, whence int) Offset_t -//sys Stat(path string, stat *Stat_t) (errno int) +//sys Stat(path string, stat *Stat_t) (err error) //stat(path *byte, stat *Stat_t) int -//sys Truncate(path string, length int64) (errno int) +//sys Truncate(path string, length int64) (err error) //truncate(path *byte, length Offset_t) int |