Skip to content

Commit da73827

Browse files
committed
Add acct(2) to BSD tree
1 parent 41944d5 commit da73827

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/bsd/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,8 @@ extern {
543543
attr: *const ::pthread_attr_t,
544544
f: extern fn(*mut ::c_void) -> *mut ::c_void,
545545
value: *mut ::c_void) -> ::c_int;
546+
#[cfg(not(target_vendor = "rumprun"))]
547+
pub fn acct(filename: *const ::c_char) -> ::c_int;
546548
}
547549

548550
cfg_if! {

0 commit comments

Comments
 (0)