gemini-browser

A text-based gemini browser
git clone git://git.laack.co/gemini-browser.git
Log | Files | Refs | README

vgetrandom_linux.go (345B)


      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 && go1.24
      6 
      7 package unix
      8 
      9 import _ "unsafe"
     10 
     11 //go:linkname vgetrandom runtime.vgetrandom
     12 //go:noescape
     13 func vgetrandom(p []byte, flags uint32) (ret int, supported bool)