Skip to content

Commit 57760b3

Browse files
committed
Auto merge of #3158 - devnexen:haiku_progname, r=JohnTitor
progname api for haiku
2 parents bac1442 + ca56f67 commit 57760b3

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
@@ -2030,6 +2030,9 @@ extern "C" {
20302030
pub fn sl_add(sl: *mut StringList, n: *mut ::c_char) -> ::c_int;
20312031
pub fn sl_free(sl: *mut StringList, i: ::c_int);
20322032
pub fn sl_find(sl: *mut StringList, n: *mut ::c_char) -> *mut ::c_char;
2033+
2034+
pub fn getprogname() -> *const ::c_char;
2035+
pub fn setprogname(progname: *const ::c_char);
20332036
}
20342037

20352038
cfg_if! {

0 commit comments

Comments
 (0)