Skip to content

Commit 82b85b7

Browse files
committed
Auto merge of #2558 - devnexen:haiku_unistd_bsd, r=Amanieu
haiku adding few BSD portability fn.
2 parents 72cf180 + b70bf63 commit 82b85b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/unix/haiku/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1487,6 +1487,12 @@ extern "C" {
14871487
pub fn getpriority(which: ::c_int, who: id_t) -> ::c_int;
14881488
pub fn setpriority(which: ::c_int, who: id_t, priority: ::c_int) -> ::c_int;
14891489

1490+
pub fn endusershell();
1491+
pub fn getpass(prompt: *const ::c_char) -> *mut ::c_char;
1492+
pub fn getusershell() -> *mut ::c_char;
1493+
pub fn issetugid() -> ::c_int;
1494+
pub fn setusershell();
1495+
14901496
pub fn utimensat(
14911497
fd: ::c_int,
14921498
path: *const ::c_char,

0 commit comments

Comments
 (0)