Skip to content

Commit c632da1

Browse files
committed
Auto merge of #2554 - devnexen:haiku_explicit_bzero, r=JohnTitor
haiku add handful BSD fn.
2 parents 6856cf8 + 8b400a8 commit c632da1

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
@@ -1694,6 +1694,9 @@ extern "C" {
16941694
>,
16951695
data: *mut ::c_void,
16961696
) -> ::c_int;
1697+
1698+
pub fn strsep(string: *mut *mut ::c_char, delimiters: *const ::c_char) -> *mut ::c_char;
1699+
pub fn explicit_bzero(buf: *mut ::c_void, len: ::size_t);
16971700
}
16981701

16991702
cfg_if! {

0 commit comments

Comments
 (0)