vgetrandom_unsupported.go 292 B

1234567891011
  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. //go:build !linux || !go1.24
  5. package unix
  6. func vgetrandom(p []byte, flags uint32) (ret int, supported bool) {
  7. return -1, false
  8. }