Lines Matching refs:POSIX_CALL
74 #define POSIX_CALL(call) do { if ((call) == -1) goto error; } while (0)
580 POSIX_CALL(close(p2cwrite));
582 POSIX_CALL(close(c2pread));
584 POSIX_CALL(close(errread));
585 POSIX_CALL(close(errpipe_read));
590 POSIX_CALL(c2pwrite = dup(c2pwrite));
597 POSIX_CALL(errwrite = dup(errwrite));
612 POSIX_CALL(dup2(p2cread, 0)); /* stdin */
619 POSIX_CALL(dup2(c2pwrite, 1)); /* stdout */
626 POSIX_CALL(dup2(errwrite, 2)); /* stderr */
632 POSIX_CALL(chdir(cwd));
651 POSIX_CALL(setsid());
656 POSIX_CALL(setpgid(0, pgid_to_set));
661 POSIX_CALL(setgroups(groups_size, groups));
666 POSIX_CALL(setregid(gid, gid));
671 POSIX_CALL(setreuid(uid, uid));