mirror of
https://github.com/golang/go
synced 2024-11-22 14:34:45 -07:00
unsafe: say "functions like syscall.Syscall", not only Syscall
Fixes #68301 Change-Id: I9d7f623370705ab2ad4c49489b5a89162467f22a Reviewed-on: https://go-review.googlesource.com/c/go/+/596936 Commit-Queue: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Keith Randall <khr@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
This commit is contained in:
parent
a71bb570d0
commit
b31e9a63a4
@ -110,7 +110,7 @@ type IntegerType int
|
||||
// u := unsafe.Pointer(nil)
|
||||
// p := unsafe.Pointer(uintptr(u) + offset)
|
||||
//
|
||||
// (4) Conversion of a Pointer to a uintptr when calling [syscall.Syscall].
|
||||
// (4) Conversion of a Pointer to a uintptr when calling functions like [syscall.Syscall].
|
||||
//
|
||||
// The Syscall functions in package syscall pass their uintptr arguments directly
|
||||
// to the operating system, which then may, depending on the details of the call,
|
||||
|
Loading…
Reference in New Issue
Block a user