Debian Codegraph @

src/runtime/vgetrandom_unsupported.go

raw
1 // Copyright 2024 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 //go:build !(linux && (amd64 || arm64 || arm64be || ppc64 || ppc64le || loong64 || s390x))
6
7 package runtime
8
9 import _ "unsafe"
10
11 //go:linkname vgetrandom
12 func vgetrandom(p []byte, flags uint32) (ret int, supported bool) {
13 return -1, false
14 }
15
16 func vgetrandomDestroy(mp *m) {}
17
18 func vgetrandomInit() {}