Syscall6 calls system call number 'num' with arguments a1-6.
syscall_RawSyscall6 is a push linkname to export Syscall6 as
syscall.RawSyscall6.
//go:uintptrkeepalive because the uintptr argument may be converted pointers
that need to be kept alive in the caller (this is implied for Syscall6 since
it has no body).
//go:nosplit because stack copying does not account for uintptrkeepalive, so
the stack must not grow. Stack copying cannot blindly assume that all
uintptr arguments are pointers, because some values may look like pointers,
but not really be pointers, and adjusting their value would break the call.
This is a separate wrapper because we can't export one function as two
names. The assembly implementations name themselves Syscall6 would not be
affected by a linkname.
Package-Level Variables (only one, which is unexported)
The pages are generated with Goldsv0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds.