#define _GNU_SOURCE #include #include "syscall.h" int acct(const char *filename) { return syscall(SYS_acct, filename); }