Skip to content

Commit

Permalink
Auto merge of rust-lang#2558 - devnexen:haiku_unistd_bsd, r=Amanieu
Browse files Browse the repository at this point in the history
haiku adding few BSD portability fn.
  • Loading branch information
bors committed Nov 21, 2021
2 parents 72cf180 + b70bf63 commit 82b85b7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/unix/haiku/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1487,6 +1487,12 @@ extern "C" {
pub fn getpriority(which: ::c_int, who: id_t) -> ::c_int;
pub fn setpriority(which: ::c_int, who: id_t, priority: ::c_int) -> ::c_int;

pub fn endusershell();
pub fn getpass(prompt: *const ::c_char) -> *mut ::c_char;
pub fn getusershell() -> *mut ::c_char;
pub fn issetugid() -> ::c_int;
pub fn setusershell();

pub fn utimensat(
fd: ::c_int,
path: *const ::c_char,
Expand Down

0 comments on commit 82b85b7

Please sign in to comment.