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:
bors 2018-04-17 03:28:53 +00:00
commit 735a5a925f

View File

@ -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! {