Lines Matching refs:acctctl
52 #include <sys/acctctl.h>
539 if (acctctl(AC_PROC | AC_RES_SET, res, sizeof (res)) != 0) {
544 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile));
548 if (acctctl(AC_PROC | AC_FILE_SET, path, strlen(path) + 1)
554 if (acctctl(AC_PROC | AC_STATE_SET, &state, sizeof (state)) == -1) {
571 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile));
587 if (acctctl(AC_PROC | AC_RES_SET, res, sizeof (res)) != 0) {
591 if (acctctl(AC_PROC | AC_FILE_SET, NULL, 0) == -1) {
595 if (acctctl(AC_PROC | AC_STATE_SET, &state, sizeof (state)) == -1) {
620 ret = acctctl(AC_PROC | AC_FILE_GET, oldfile, sizeof (oldfile));
628 if (acctctl(AC_PROC | AC_FILE_SET, path, strlen(path) + 1) == -1) {
2553 ret = acctctl(AC_STATE_GET | AC_PROC, &state, sizeof (state));
2569 ret = acctctl(AC_FILE_GET | AC_PROC, path, sizeof (path));