فهرست منبع

add acct syscall source file, omitted in last syscalls commit

Rich Felker 12 سال پیش
والد
کامیت
fe0260400e
1فایلهای تغییر یافته به همراه9 افزوده شده و 0 حذف شده
  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);
+}