Skip to content

Commit

Permalink
Merge pull request #3 from ian-h-chamberlain/getrandom
Browse files Browse the repository at this point in the history
  • Loading branch information
Meziu authored Jan 31, 2022
2 parents 98ef7e7 + 0a7a227 commit b44714b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/newlib/horizon/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,5 +190,7 @@ extern "C" {
value: *mut ::c_void,
) -> ::c_int;

pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t;

pub fn gethostid() -> ::c_long;
}

0 comments on commit b44714b

Please sign in to comment.