projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add acct syscall source file, omitted in last syscalls commit
[musl]
/
src
/
unistd
/
acct.c
diff --git a/src/unistd/acct.c
b/src/unistd/acct.c
new file mode 100644
(file)
index 0000000..
9384712
--- /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);
+}