Skip to content

Commit c9d1e39

Browse files
author
Bryant Mairs
committed
Add errno getter for Android
1 parent a72a79b commit c9d1e39

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/notbsd/android/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,6 +1127,7 @@ extern {
11271127
attr: *const ::pthread_attr_t,
11281128
f: extern fn(*mut ::c_void) -> *mut ::c_void,
11291129
value: *mut ::c_void) -> ::c_int;
1130+
pub fn __errno() -> *mut ::c_int;
11301131
}
11311132

11321133
cfg_if! {

0 commit comments

Comments
 (0)