Lines Matching defs:outfd
160 outfd (or discard it if outfd is NULL).
163 int afprun(int root, char *cmd, int *outfd)
170 if (outfd && ((*outfd = setup_out_fd()) == -1)) {
179 if (outfd) {
180 close(*outfd);
181 *outfd = -1;
203 if (outfd) {
204 close(*outfd);
205 *outfd = -1;
210 if (outfd) {
211 lseek(*outfd, 0, SEEK_SET);
227 if (outfd) {
229 if (dup2(*outfd,1) != 1) {
231 close(*outfd);