diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-10-24 04:57:08 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-10-24 04:57:08 +0000 |
commit | 703f56e5cbcfc5d64fac26b2d55f127d363e67b6 (patch) | |
tree | 372061d3e6fc84df61eea9bdda4ebefaa0ba4712 /libgo/go | |
parent | d377a5fbf156ab7e6da3cda3ef39108616e28c02 (diff) | |
download | gcc-703f56e5cbcfc5d64fac26b2d55f127d363e67b6.zip gcc-703f56e5cbcfc5d64fac26b2d55f127d363e67b6.tar.gz gcc-703f56e5cbcfc5d64fac26b2d55f127d363e67b6.tar.bz2 |
Some minor fixes to the rewritten syscall library.
From-SVN: r180363
Diffstat (limited to 'libgo/go')
-rw-r--r-- | libgo/go/syscall/libcall_linux.go | 9 | ||||
-rw-r--r-- | libgo/go/syscall/libcall_posix.go | 5 |
2 files changed, 8 insertions, 6 deletions
diff --git a/libgo/go/syscall/libcall_linux.go b/libgo/go/syscall/libcall_linux.go index d3e1d3a..a469873 100644 --- a/libgo/go/syscall/libcall_linux.go +++ b/libgo/go/syscall/libcall_linux.go @@ -196,6 +196,10 @@ func PtraceDetach(pid int) (errno int) { return ptrace(PTRACE_DETACH, pid, 0, 0) // //sys Fstatfs(fd int, buf *Statfs_t) (errno int) // //fstatfs(fd int, buf *Statfs_t) int +// FIXME: Only available as a syscall. +// //sysnb Gettid() (tid int) +// //gettid() Pid_t + //sys Ioperm(from int, num int, on int) (errno int) //ioperm(from _C_long, num _C_long, on int) int @@ -298,8 +302,9 @@ func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n i //sys Tee(rfd int, wfd int, len int, flags int) (n int64, errno int) //tee(rfd int, wfd int, len Size_t, flags uint) Ssize_t -//sysnb Tgkill(tgid int, tid int, sig int) (errno int) -//tgkill(tgid int, tid int, sig int) int +// FIXME: Only available as a syscall. +// //sysnb Tgkill(tgid int, tid int, sig int) (errno int) +// //tgkill(tgid int, tid int, sig int) int //sys unlinkat(dirfd int, path string, flags int) (errno int) //unlinkat(dirfd int, path *byte, flags int) int diff --git a/libgo/go/syscall/libcall_posix.go b/libgo/go/syscall/libcall_posix.go index ea7dfc8..b83c2b5 100644 --- a/libgo/go/syscall/libcall_posix.go +++ b/libgo/go/syscall/libcall_posix.go @@ -236,9 +236,6 @@ func FDZero(set *FdSet) { //sysnb Getrusage(who int, rusage *Rusage) (errno int) //getrusage(who int, rusage *Rusage) int -//sysnb Gettid() (tid int) -//gettid() Pid_t - //sysnb gettimeofday(tv *Timeval, tz *byte) (errno int) //gettimeofday(tv *Timeval, tz *byte) int func Gettimeofday(tv *Timeval) (errno int) { @@ -334,7 +331,7 @@ func Settimeofday(tv *Timeval) (errno int) { // //times(tms *Tms) _clock_t //sysnb Umask(mask int) (oldmask int) -//umark(mask Mode_t) Mode_t +//umask(mask Mode_t) Mode_t //sys Unlink(path string) (errno int) //unlink(path *byte) int |