Skip to content

Commit

Permalink
Merge pull request rust-lang#3991 from devnexen/haiku_getentropy
Browse files Browse the repository at this point in the history
haiku: add getentropy
  • Loading branch information
tgross35 authored Nov 6, 2024
2 parents 613b81f + 9b04956 commit f3152ef
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 f3152ef

Please sign in to comment.