Skip to content

Commit

Permalink
haiku adding getentropy.
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen authored and tgross35 committed Nov 6, 2024
1 parent ddeff5b commit 9b04956
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/haiku/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2093,6 +2093,8 @@ extern "C" {
length: ::size_t,
locale: ::locale_t,
) -> ::c_int;

pub fn getentropy(buf: *mut ::c_void, buflen: ::size_t) -> ::c_int;
}

#[link(name = "bsd")]
Expand Down

0 comments on commit 9b04956

Please sign in to comment.