AC_BUFSIZE
untracked = buf2str(buf, AC_BUFSIZE, AC_OFF, type);
if ((buf = malloc(AC_BUFSIZE)) == NULL) {
(void) memset(buf, 0, AC_BUFSIZE);
if (acctctl(type | AC_RES_SET, buf, AC_BUFSIZE) == -1) {
if ((buf = malloc(AC_BUFSIZE)) == NULL)
(void) memset(buf, 0, AC_BUFSIZE);
if (acctctl(type | AC_RES_GET, buf, AC_BUFSIZE) == -1)
tracked = buf2str(buf, AC_BUFSIZE, AC_ON, type);
if ((buf = malloc(AC_BUFSIZE)) == NULL)
(void) memset(buf, 0, AC_BUFSIZE);
if (acctctl(type | AC_RES_GET, buf, AC_BUFSIZE) == -1) {
if (acctctl(type | AC_RES_SET, buf, AC_BUFSIZE) == -1) {
tracked = buf2str(buf, AC_BUFSIZE, AC_ON, type);
untracked = buf2str(buf, AC_BUFSIZE, AC_OFF, type);