Browse Source

add acct syscall source file, omitted in last syscalls commit

Rich Felker 12 years ago
parent
commit
fe0260400e
1 changed files with 9 additions and 0 deletions
  1. 9 0
      src/unistd/acct.c

+ 9 - 0
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);
+}