Searched refs:zfd (Results 1 - 2 of 2) sorted by relevance

/freebsd-current/usr.bin/gzip/
H A Dgzip.c1378 int fd, ofd, zfd = -1; local
1488 zfd = STDOUT_FILENO;
1490 zfd = -1;
1492 zfd = open(outfile, O_WRONLY|O_CREAT|O_EXCL, 0600);
1493 if (zfd == STDOUT_FILENO) {
1495 zfd = dup(zfd);
1498 if (zfd == -1) {
1514 size = unbzip2(fd, zfd, NULL, 0, NULL);
1533 out = fdopen(dup(zfd), "
[all...]
/freebsd-current/sys/contrib/openzfs/cmd/zed/
H A Dzed_exec.c115 * The file descriptor [zfd] is the zevent_fd used to track the
120 char *env[], int zfd, boolean_t in_foreground)
134 assert(zfd >= 0);
166 (void) dup2(zfd, ZEVENT_FILENO);
119 _zed_exec_fork_child(uint64_t eid, const char *dir, const char *prog, char *env[], int zfd, boolean_t in_foreground) argument

Completed in 136 milliseconds