Skip to content
Snippets Groups Projects
Commit 19a4c202 authored by 真人's avatar 真人
Browse files

feat: add fread_unulock for linux

parent 28b4d163
No related branches found
No related tags found
No related merge requests found
...@@ -1917,6 +1917,11 @@ extern { ...@@ -1917,6 +1917,11 @@ extern {
fd: ::c_int, fd: ::c_int,
newfd: ::c_int, newfd: ::c_int,
) -> ::c_int; ) -> ::c_int;
pub fn fread_unlocked(ptr: *mut ::c_void,
size: ::size_t,
nobj: ::size_t,
stream: *mut ::FILE
) -> ::size_t;
} }
cfg_if! { cfg_if! {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment