acct.c 159 字节
Newer Older
1 2 3 4 5 6 7 8 9
#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"
#include "libc.h"

int acct(const char *filename)
{
        return syscall(SYS_acct, filename);
}