mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
add acct syscall source file, omitted in last syscalls commit
This commit is contained in:
parent
6cf8bfdb64
commit
fe0260400e
1 changed files with 9 additions and 0 deletions
9
src/unistd/acct.c
Normal file
9
src/unistd/acct.c
Normal file
|
@ -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);
|
||||
}
|
Loading…
Add table
Reference in a new issue