Auto merge of #974 - hawkingrei:feat/add_fread_unlock, r=alexcrichton
feat: add fread_unulock for linux add fread_unulock for linux
This commit is contained in:
commit
735a5a925f
@ -1917,6 +1917,11 @@ extern {
|
||||
fd: ::c_int,
|
||||
newfd: ::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! {
|
||||
|
Loading…
x
Reference in New Issue
Block a user