Skip to content
Snippets Groups Projects
Commit 9c4f6c4f authored by bors's avatar bors
Browse files

Auto merge of #1093 - jabedude:acct, r=alexcrichton

Add acct(2) to BSD module

The `acct` syscall is supported on BSD platforms, the PR aims to add it to the BSD module.
parents 41944d5c 70c178dc
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,6 @@ matrix:
RUSTFLAGS=-Clink-arg=-mios-simulator-version-min=7.0
before_install:
rustc ./ci/ios/deploy_and_run_on_ios_simulator.rs -o $HOME/runtest
- env: TARGET=x86_64-rumprun-netbsd
- env: TARGET=powerpc-unknown-linux-gnu
- env: TARGET=powerpc64-unknown-linux-gnu
- env: TARGET=powerpc64le-unknown-linux-gnu
......
......@@ -543,6 +543,7 @@ extern {
attr: *const ::pthread_attr_t,
f: extern fn(*mut ::c_void) -> *mut ::c_void,
value: *mut ::c_void) -> ::c_int;
pub fn acct(filename: *const ::c_char) -> ::c_int;
}
cfg_if! {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment