getrandom_syscall(9)
β¨ NAME β¨
getrandom_syscall β Invoke the getrandom() syscall.
hii bestie π welcome to the getrandom_syscall(9) page from the Kernel API Manual. this functionβs whole thing is literally invoking the getrandom() syscall. no cap, thatβs the vibe. π
πΈ SYNOPSIS πΈ
ssize_t getrandom_syscall (void *buffer , size_t len , unsigned int
flags );
π¦ ARGUMENTS π¦
bufferβ destination buffer to fill with random bytes. π§lenβ size ofbufferin bytes. πflagsβ zero or moreGRND_*flags. π©
π₯ RETURN π₯
the return value is the number of random bytes written to buffer, or a negative value indicating an error. thatβs it, thatβs the whole return vibe. π
π SEE ALSO π
- Kernel file
./arch/x86/include/asm/vdso/getrandom.hπ
okay bestie, thatβs the page π
source/version: ./arch/x86/include/asm/vdso; date: October 2026; title: getrandom_syscall(9). bye and slay your random-byte era πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms