Skip to content

Commit f3152ef

Browse files
authored
Merge pull request rust-lang#3991 from devnexen/haiku_getentropy
haiku: add getentropy
2 parents 613b81f + 9b04956 commit f3152ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/haiku/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2093,6 +2093,8 @@ extern "C" {
20932093
length: ::size_t,
20942094
locale: ::locale_t,
20952095
) -> ::c_int;
2096+
2097+
pub fn getentropy(buf: *mut ::c_void, buflen: ::size_t) -> ::c_int;
20962098
}
20972099

20982100
#[link(name = "bsd")]

0 commit comments

Comments
 (0)