Skip to content

Commit 5cacf97

Browse files
committed
Auto merge of #850 - Susurrus:errno, r=malbarbo
Add errno getter for Android
2 parents a72a79b + c9d1e39 commit 5cacf97

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)