Debian Codegraph @

testsuite/systemtap.syscall/acct.c

raw
1 /* COVERAGE: acct */
2 #include <unistd.h>
3 #include <sys/mman.h>
4
5 int main()
6 {
7 mlockall(MCL_CURRENT);
8
9 acct("foobar");
10 //staptest// acct ("foobar") = -NNNN
11
12 acct((char *)-1);
13 #ifdef __s390__
14 //staptest// acct (0x[7]?[f]+) = -NNNN
15 #else
16 //staptest// acct (0x[f]+) = -NNNN
17 #endif
18
19 return 0;
20 }