mirror of
https://github.com/golang/sys.git
synced 2026-01-29 07:02:06 +03:00
For golang/go#69577
Change-Id: Id1942d252c813126aa2f110e3f426714db73b9c7
GitHub-Last-Rev: 10e6a30b78
GitHub-Pull-Request: golang/sys#220
Reviewed-on: https://go-review.googlesource.com/c/sys/+/616795
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Jason Donenfeld <Jason@zx2c4.com>
14 lines
345 B
Go
14 lines
345 B
Go
// Copyright 2024 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//go:build linux && go1.24
|
|
|
|
package unix
|
|
|
|
import _ "unsafe"
|
|
|
|
//go:linkname vgetrandom runtime.vgetrandom
|
|
//go:noescape
|
|
func vgetrandom(p []byte, flags uint32) (ret int, supported bool)
|