Skip to content

Commit 571b817

Browse files
committed
freebsd: add std.c.arc4random_buf
1 parent 69553d6 commit 571b817

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/std/c/freebsd.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ pub extern "c" fn pthread_getthreadid_np() c_int;
1515
pub extern "c" fn pthread_set_name_np(thread: std.c.pthread_t, name: [*:0]const u8) void;
1616
pub extern "c" fn pthread_get_name_np(thread: std.c.pthread_t, name: [*:0]u8, len: usize) void;
1717
pub extern "c" fn pipe2(fds: *[2]fd_t, flags: u32) c_int;
18+
pub extern "c" fn arc4random_buf(buf: [*]u8, len: usize) void;
1819

1920
pub extern "c" fn posix_memalign(memptr: *?*anyopaque, alignment: usize, size: usize) c_int;
2021
pub extern "c" fn malloc_usable_size(?*const anyopaque) usize;

0 commit comments

Comments
 (0)