Quellcode durchsuchen

add acct syscall source file, omitted in last syscalls commit

Rich Felker vor 12 Jahren
Ursprung
Commit
fe0260400e
1 geänderte Dateien mit 9 neuen und 0 gelöschten Zeilen
  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);
+}