Skip to content

Commit

Permalink
Auto merge of #2571 - devnexen:bsd_syms, r=Amanieu
Browse files Browse the repository at this point in the history
haiku adding couple more BSD extensions.
  • Loading branch information
bors committed Nov 28, 2021
2 parents 3684bd3 + e44a1f0 commit bb5b8ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/unix/haiku/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1697,6 +1697,9 @@ extern "C" {

pub fn strsep(string: *mut *mut ::c_char, delimiters: *const ::c_char) -> *mut ::c_char;
pub fn explicit_bzero(buf: *mut ::c_void, len: ::size_t);

pub fn login_tty(_fd: ::c_int) -> ::c_int;
pub fn fgetln(stream: *mut ::FILE, _length: *mut ::size_t) -> *mut ::c_char;
}

cfg_if! {
Expand Down

0 comments on commit bb5b8ef

Please sign in to comment.