| /openbsd/src/usr.bin/mail/ |
| D | popen.c | 209 start_commandv(char *cmd, sigset_t *nset, int infd, int outfd, va_list args) in start_commandv() argument 224 prepare_child(nset, infd, outfd); in start_commandv() 233 run_command(char *cmd, sigset_t *nset, int infd, int outfd, ...) in run_command() argument 238 va_start(args, outfd); in run_command() 239 pid = start_commandv(cmd, nset, infd, outfd, args); in run_command() 247 start_command(char *cmd, sigset_t *nset, int infd, int outfd, ...) in start_command() argument 252 va_start(args, outfd); in start_command() 253 r = start_commandv(cmd, nset, infd, outfd, args); in start_command() 259 prepare_child(sigset_t *nset, int infd, int outfd) in prepare_child() argument 275 if (outfd >= 0 && outfd != 1) in prepare_child() [all …]
|
| D | extern.h | 206 int run_command(char *cmd, sigset_t *nset, int infd, int outfd, ...); 234 pid_t start_command(char *cmd, sigset_t *nset, int infd, int outfd, ...);
|
| /openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| D | sanitizer_symbolizer_posix_libcdep.cpp | 95 int *outfd = NULL; in CreateTwoHighNumberedPipes() local 114 outfd = sock_pair[i]; in CreateTwoHighNumberedPipes() 125 CHECK(outfd); in CreateTwoHighNumberedPipes() 128 outfd_[0] = outfd[0]; in CreateTwoHighNumberedPipes() 129 outfd_[1] = outfd[1]; in CreateTwoHighNumberedPipes() 171 fd_t infd[2] = {}, outfd[2] = {}; in StartSymbolizerSubprocess() local 172 if (!CreateTwoHighNumberedPipes(infd, outfd)) { in StartSymbolizerSubprocess() 178 pid = StartSubprocess(path_, argv, GetEnvP(), /* stdin */ outfd[0], in StartSymbolizerSubprocess() 182 internal_close(outfd[1]); in StartSymbolizerSubprocess() 187 output_fd_ = outfd[1]; in StartSymbolizerSubprocess()
|
| /openbsd/src/regress/usr.sbin/rpki-client/ |
| D | test-http.c | 122 int error, fd[2], outfd, httpfd; in main() local 157 if ((outfd = open(file, O_WRONLY|O_CREAT|O_TRUNC, 0666)) == -1) in main() 160 http_request(req++, uri, mod, outfd); in main()
|
| /openbsd/src/usr.sbin/edquota/ |
| D | edquota.c | 398 writeprivs(struct quotause *quplist, int outfd, char *name, int quotatype) in writeprivs() argument 403 ftruncate(outfd, 0); in writeprivs() 404 lseek(outfd, 0, SEEK_SET); in writeprivs() 405 if ((fp = fdopen(dup(outfd), "w")) == NULL) in writeprivs() 535 writetimes(struct quotause *quplist, int outfd, int quotatype) in writetimes() argument 540 ftruncate(outfd, 0); in writetimes() 541 lseek(outfd, 0, SEEK_SET); in writetimes() 542 if ((fp = fdopen(dup(outfd), "w")) == NULL) in writetimes()
|
| /openbsd/src/usr.sbin/rpki-client/ |
| D | http.c | 155 int outfd; member 569 int outfd) in http_req_new() argument 577 close(outfd); in http_req_new() 586 req->outfd = outfd; in http_req_new() 612 if (req->outfd != -1) in http_req_free() 613 close(req->outfd); in http_req_free() 1332 int outfd; in http_redirect() local 1335 outfd = conn->req->outfd; in http_redirect() 1336 conn->req->outfd = -1; in http_redirect() 1347 outfd); in http_redirect() [all …]
|