Skip to content

Commit e44a1f0

Browse files
committed
haiku adding couple more BSD extensions.
1 parent 3684bd3 commit e44a1f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/unix/haiku/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1697,6 +1697,9 @@ extern "C" {
16971697

16981698
pub fn strsep(string: *mut *mut ::c_char, delimiters: *const ::c_char) -> *mut ::c_char;
16991699
pub fn explicit_bzero(buf: *mut ::c_void, len: ::size_t);
1700+
1701+
pub fn login_tty(_fd: ::c_int) -> ::c_int;
1702+
pub fn fgetln(stream: *mut ::FILE, _length: *mut ::size_t) -> *mut ::c_char;
17001703
}
17011704

17021705
cfg_if! {

0 commit comments

Comments
 (0)