Skip to content

Commit 0b59ace

Browse files
authored
Add RTLD_NEXT and RTLD_SELF to *BSD
1 parent f9ae8e6 commit 0b59ace

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/bsd/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,9 @@ pub const WNOHANG: ::c_int = 0x00000001;
275275
pub const WUNTRACED: ::c_int = 0x00000002;
276276

277277
pub const RTLD_NOW: ::c_int = 0x2;
278+
pub const RTLD_NEXT: *mut ::c_void = -1isize as *mut ::c_void;
278279
pub const RTLD_DEFAULT: *mut ::c_void = -2isize as *mut ::c_void;
280+
pub const RTLD_SELF: *mut ::c_void = -3isize as *mut ::c_void;
279281

280282
pub const LOG_CRON: ::c_int = 9 << 3;
281283
pub const LOG_AUTHPRIV: ::c_int = 10 << 3;

0 commit comments

Comments
 (0)