#define _GNU_SOURCE #include #include int acct(const char* filename) { errno = ENOSYS; return -1; }