Skip to content

Commit 4c1d1f8

Browse files
committed
Add ___errno() for Solaris
1 parent ebb3d05 commit 4c1d1f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/solaris/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1265,6 +1265,7 @@ extern {
12651265
pub fn ioctl(fildes: ::c_int, request: ::c_int, ...) -> ::c_int;
12661266
pub fn mprotect(addr: *const ::c_void, len: ::size_t, prot: ::c_int)
12671267
-> ::c_int;
1268+
pub fn ___errno() -> *mut ::c_int;
12681269
pub fn clock_getres(clk_id: ::clockid_t, tp: *mut ::timespec) -> ::c_int;
12691270
pub fn clock_gettime(clk_id: ::clockid_t, tp: *mut ::timespec) -> ::c_int;
12701271
pub fn clock_nanosleep(clk_id: ::clockid_t,

0 commit comments

Comments
 (0)