Searched refs:out_fd (Results 1 - 8 of 8) sorted by relevance
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/ |
H A D | simple_exec.c | 147 int in_fd[2], out_fd[2], err_fd[2]; local 155 pipe(out_fd); 171 close(out_fd[0]); 179 out_fd[1] = open(_PATH_DEVNULL, O_WRONLY); 188 if(out_fd[1] != STDOUT_FILENO) { 189 dup2(out_fd[1], STDOUT_FILENO); 190 close(out_fd[1]); 207 close(out_fd[0]); 208 close(out_fd[1]); 221 close(out_fd[ [all...] |
/macosx-10.10.1/Security-57031.1.35/Security/sec/securityd/ |
H A D | OTATrustUtilities.c | 621 static void* MapFile(const char* path, int* out_fd, size_t* out_file_size) argument 625 if (NULL == path || NULL == out_fd || NULL == out_file_size) 630 *out_fd = -1; 634 *out_fd = open(path, O_RDONLY, 0666); 636 if (*out_fd == -1) 641 off_t fsize = lseek(*out_fd, 0, SEEK_END); 649 close(*out_fd); 650 *out_fd = -1; 659 close(*out_fd); 660 *out_fd [all...] |
/macosx-10.10.1/Heimdal-398.1.2/appl/push/ |
H A D | push.c | 224 int out_fd; local 243 out_fd = -1; 260 out_fd = open(outfilename, O_WRONLY | O_APPEND | O_CREAT, 0666); 261 if (out_fd < 0) 284 write_state_init (&write_state, out_fd); 375 if (fsync (out_fd) < 0) 377 close(out_fd);
|
/macosx-10.10.1/syslog-267/libsystem_asl.tproj/src/ |
H A D | asl.c | 1254 * Identifier specified. Output parameter out_fd will contain the file descriptor of the 1258 _asl_auxiliary(asl_msg_t *msg, const char *title, const char *uti, const char *url, int *out_fd) argument 1282 /* if (out_fd == NULL), this is from asl_log_auxiliary_location */ 1283 if (out_fd == NULL) 1326 *out_fd = fdpair[1]; 1429 *out_fd = fd; 1442 asl_create_auxiliary_file(asl_object_t msg, const char *title, const char *uti, int *out_fd) argument 1444 if (out_fd == NULL) return -1; 1446 ASL_STATUS status = _asl_auxiliary((asl_msg_t *)msg, title, uti, NULL, out_fd);
|
H A D | asl_store.c | 741 asl_store_open_aux(asl_store_t *s, asl_msg_t *msg, int *out_fd, char **url) argument 756 if (out_fd == NULL) return ASL_STATUS_INVALID_ARG; 839 *out_fd = -1; 848 *out_fd = fd;
|
/macosx-10.10.1/Security-57031.1.35/Security/regressions/inc/IPC/ |
H A D | Run3.pm | 565 my $out_fd; 571 $out_fd = fileno $out_fh; 596 dup2 $out_fd, 1 or croak "run3(): $! redirecting STDOUT";
|
/macosx-10.10.1/Security-57031.1.35/SecurityTests/regressions/t/IPC/ |
H A D | Run3.pm | 565 my $out_fd; 571 $out_fd = fileno $out_fh; 596 dup2 $out_fd, 1 or croak "run3(): $! redirecting STDOUT";
|
/macosx-10.10.1/ruby-106/ruby/ |
H A D | io.c | 9729 simple_sendfile(int out_fd, int in_fd, off_t *offset, off_t count) argument 9731 return sendfile(out_fd, in_fd, offset, (size_t)count); 9745 simple_sendfile(int out_fd, int in_fd, off_t *offset, off_t count) argument 9751 r = sendfile(in_fd, out_fd, pos, &count, NULL, 0); 9754 r = sendfile(in_fd, out_fd, pos, (size_t)count, NULL, &sbytes, 0);
|
Completed in 224 milliseconds