diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-09-08 22:23:03 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-09-08 22:23:03 -0400 |
commit | fe0260400eebb613338a720c9568c10ab4f17225 (patch) | |
tree | e397979fd6cc872be134aab62e8d52f13016a7c0 /src | |
parent | 6cf8bfdb646efaf76c75a95d1ea0cd254706c037 (diff) | |
download | musl-fe0260400eebb613338a720c9568c10ab4f17225.tar.gz musl-fe0260400eebb613338a720c9568c10ab4f17225.tar.xz musl-fe0260400eebb613338a720c9568c10ab4f17225.zip |
add acct syscall source file, omitted in last syscalls commit
Diffstat (limited to 'src')
-rw-r--r-- | src/unistd/acct.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/unistd/acct.c b/src/unistd/acct.c new file mode 100644 index 00000000..93847127 --- /dev/null +++ b/src/unistd/acct.c @@ -0,0 +1,9 @@ +#define _GNU_SOURCE +#include <unistd.h> +#include "syscall.h" +#include "libc.h" + +int acct(const char *filename) +{ + return syscall(SYS_acct, filename); +} |