authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-08-23 18:55:39-07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-08-23 18:55:39-07:00
log1b61f4f86230a8980f3b7f30c5876b09064a5a09
tree8d36d0898280d615b15a4ecef582d09147e10574
parentdc8ca6c96854b93fe06db5993b7675ab2d9bc0ff
signature Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

add arc4random_buf


1 files changed, 1 insertions(+), 0 deletions(-)

mod.zig+1
......@@ -2821,6 +2821,7 @@ pub const libc = struct {
28212821 pub extern fn getrandom(buf: [*]u8, size: usize, flags: c_uint) isize;
28222822 pub extern fn flock(fd: c_int, op: c_int) c_int;
28232823 pub extern fn copy_file_range(fd_int: c_int, off_in: ?*off_t, fd_out: c_int, off_out: ?*off_t, size: usize, flags: c_uint) isize;
2824 pub extern fn arc4random_buf(buf: [*]u8, n: usize) void;
28242825};
28252826
28262827comptime {