File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -967,6 +967,11 @@ extern {
967
967
tz : * mut :: timezone ) -> :: c_int ;
968
968
pub fn statx ( dirfd : :: c_int , pathname : * const c_char , flags : :: c_int ,
969
969
mask : :: c_uint , statxbuf : * mut statx ) -> :: c_int ;
970
+ pub fn getrandom (
971
+ buf : * mut :: c_void ,
972
+ buflen : :: size_t ,
973
+ flags : :: c_uint ,
974
+ ) -> :: ssize_t ;
970
975
}
971
976
972
977
#[ link( name = "util" ) ]
Original file line number Diff line number Diff line change @@ -2666,11 +2666,6 @@ extern {
2666
2666
pub fn inotify_add_watch ( fd : :: c_int ,
2667
2667
path : * const :: c_char ,
2668
2668
mask : u32 ) -> :: c_int ;
2669
- pub fn getrandom (
2670
- buf : * mut :: c_void ,
2671
- buflen : :: size_t ,
2672
- flags : :: c_uint ,
2673
- ) -> :: ssize_t ;
2674
2669
}
2675
2670
2676
2671
cfg_if ! {
You can’t perform that action at this time.
0 commit comments