diff options
| author | Ondřej Surý <ondrej@sury.org> | 2011-04-26 09:55:32 +0200 |
|---|---|---|
| committer | Ondřej Surý <ondrej@sury.org> | 2011-04-26 09:55:32 +0200 |
| commit | 7b15ed9ef455b6b66c6b376898a88aef5d6a9970 (patch) | |
| tree | 3ef530baa80cdf29436ba981f5783be6b4d2202b /src/pkg/syscall/syscall_darwin_386.go | |
| parent | 50104cc32a498f7517a51c8dc93106c51c7a54b4 (diff) | |
| download | golang-7b15ed9ef455b6b66c6b376898a88aef5d6a9970.tar.gz | |
Imported Upstream version 2011.04.13upstream/2011.04.13
Diffstat (limited to 'src/pkg/syscall/syscall_darwin_386.go')
| -rw-r--r-- | src/pkg/syscall/syscall_darwin_386.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pkg/syscall/syscall_darwin_386.go b/src/pkg/syscall/syscall_darwin_386.go index 3fd72efe3..5101ba6c7 100644 --- a/src/pkg/syscall/syscall_darwin_386.go +++ b/src/pkg/syscall/syscall_darwin_386.go @@ -23,7 +23,7 @@ func NsecToTimeval(nsec int64) (tv Timeval) { return } -//sys gettimeofday(tp *Timeval) (sec int32, usec int32, errno int) +//sysnb gettimeofday(tp *Timeval) (sec int32, usec int32, errno int) func Gettimeofday(tv *Timeval) (errno int) { // The tv passed to gettimeofday must be non-nil // but is otherwise unused. The answers come back @@ -39,3 +39,5 @@ func SetKevent(k *Kevent_t, fd, mode, flags int) { k.Filter = int16(mode) k.Flags = uint16(flags) } + +func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2, err uintptr) // sic |
