From fe0260400eebb613338a720c9568c10ab4f17225 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 8 Sep 2012 22:23:03 -0400 Subject: add acct syscall source file, omitted in last syscalls commit --- src/unistd/acct.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/unistd/acct.c 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 +#include "syscall.h" +#include "libc.h" + +int acct(const char *filename) +{ + return syscall(SYS_acct, filename); +} -- cgit v1.2.1