summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Arhipov <n@arhipov.net>2023-04-28 13:19:47 +0300
committerNikolay Arhipov <n@arhipov.net>2023-04-28 13:19:47 +0300
commit0b2ed1613591bad63bf1cb726b17e59e4ec87105 (patch)
tree369e27b36f3798cc3351ceb73e5d60a2fd9292eb
parent0485ee3ec37da6789b396b9f6081933c34d9f2a4 (diff)
downloadrust-libc-0b2ed1613591bad63bf1cb726b17e59e4ec87105.tar.gz
Added getentropy to vita target
-rw-r--r--src/unix/newlib/vita/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/newlib/vita/mod.rs b/src/unix/newlib/vita/mod.rs
index 5c1d35dae1..801a408b99 100644
--- a/src/unix/newlib/vita/mod.rs
+++ b/src/unix/newlib/vita/mod.rs
@@ -168,6 +168,8 @@ extern "C" {
) -> ::c_int;
pub fn pthread_getprocessorid_np() -> ::c_int;
+
+ pub fn getentropy(buf: *mut ::c_void, buflen: ::size_t) -> ::c_int;
}
pub use crate::unix::newlib::generic::{sigset_t, stat};