Skip to content

Instantly share code, notes, and snippets.

@hayeah
Created January 20, 2014 03:54
Show Gist options
  • Save hayeah/8514630 to your computer and use it in GitHub Desktop.
Save hayeah/8514630 to your computer and use it in GitHub Desktop.
syscalls that return two values? wtf?
pkg/syscall/zsyscall_darwin_386.go:272: r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
pkg/syscall/zsyscall_darwin_386.go:983: r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
pkg/syscall/zsyscall_darwin_386.go:1328: r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
pkg/syscall/zsyscall_darwin_amd64.go:272: r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
pkg/syscall/zsyscall_darwin_amd64.go:1328: r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0)
pkg/syscall/zsyscall_dragonfly_386.go:262: r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
pkg/syscall/zsyscall_dragonfly_386.go:973: r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
pkg/syscall/zsyscall_dragonfly_amd64.go:262: r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
pkg/syscall/zsyscall_freebsd_386.go:262: r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
pkg/syscall/zsyscall_freebsd_386.go:973: r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
pkg/syscall/zsyscall_freebsd_amd64.go:262: r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
pkg/syscall/zsyscall_freebsd_arm.go:262: r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
pkg/syscall/zsyscall_freebsd_arm.go:961: r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(offset>>32), uintptr(whence), 0, 0)
pkg/syscall/zsyscall_linux_386.go:1092: r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
pkg/syscall/zsyscall_linux_arm.go:1092: r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
pkg/syscall/zsyscall_netbsd_386.go:262: r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
pkg/syscall/zsyscall_netbsd_386.go:938: r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
pkg/syscall/zsyscall_netbsd_amd64.go:262: r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
pkg/syscall/zsyscall_netbsd_arm.go:262: r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0)
pkg/syscall/zsyscall_netbsd_arm.go:943: r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
pkg/syscall/zsyscall_openbsd_386.go:963: r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment