fn getrandom(buffer: []u8) GetRandomError!void

Obtain a series of random bytes. These bytes can be used to seed user-space random number generators or for cryptographic purposes. When linking against libc, this calls the appropriate OS-specific library call. Otherwise it uses the zig standard library implementation.

Parameters

buffer: []u8,