/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | lintsup.c | 47 const char *wname, int wfd, uchar_t osabi) 49 return (regular64(file, fd, elf, flags, wname, wfd, osabi)); 54 const char *wname, int wfd, uchar_t osabi) 56 return (regular32(file, fd, elf, flags, wname, wfd, osabi)); 46 regular32(const char *file, int fd, Elf *elf, uint_t flags, const char *wname, int wfd, uchar_t osabi) argument 53 regular64(const char *file, int fd, Elf *elf, uint_t flags, const char *wname, int wfd, uchar_t osabi) argument
|
H A D | main.c | 548 const char *wname, int wfd, uchar_t osabi) 553 r = regular64(file, fd, elf, flags, wname, wfd, osabi); 555 r = regular32(file, fd, elf, flags, wname, wfd, osabi); 562 const char *wname, int wfd, uchar_t osabi) 704 wname, wfd, osabi) == 1) 709 wname, wfd, osabi) == 1) 730 int var, fd, wfd = 0; local 935 if ((wfd = open(wname, (O_RDWR | O_CREAT | O_TRUNC), 970 ret = archive(file, fd, elf, flags, wname, wfd, osabi); 973 ret = decide(file, fd, elf, flags, wname, wfd, osab 547 decide(const char *file, int fd, Elf *elf, uint_t flags, const char *wname, int wfd, uchar_t osabi) argument 561 archive(const char *file, int fd, Elf *elf, uint_t flags, const char *wname, int wfd, uchar_t osabi) argument [all...] |
/illumos-gate/usr/src/cmd/ctwatch/ |
H A D | ctwatch.c | 235 watched_fd_t *wfd; local 266 wfd = calloc(argc, sizeof (struct pollfd)); 267 if (wfd == NULL) 289 wfd[nfds].wf_fd = 293 wfd[nfds].wf_type = type = get_type(argv[i]); 295 (void) close(wfd[nfds].wf_fd); 338 wfd[nfds].wf_fd = fd; 339 wfd[nfds].wf_type = type; 352 if (ioctl(wfd[i].wf_fd, CT_ERELIABLE, NULL) == -1) { 359 (void) ioctl(wfd[ [all...] |
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | procclose.c | 46 if (p->wfd >= 0 && p->wfd != p->rfd) 47 close(p->wfd);
|
H A D | procopen.c | 426 proc->wfd = -1; 800 proc->wfd = pio[1]; 805 proc->wfd = pio[0]; 807 proc->wfd = poi[1]; 818 if (proc->wfd > 2) 819 fcntl(proc->wfd, F_SETFD, FD_CLOEXEC);
|
/illumos-gate/usr/src/lib/libast/common/port/ |
H A D | astcopy.c | 27 * copy from rfd to wfd (with conditional mmap hacks) 45 * copy n bytes from rfd to wfd 51 astcopy(int rfd, int wfd, off_t n) argument 74 if (write(wfd, mapbuf, mapsize) != mapsize || lseek(rfd, mapsize, 1) == ((off_t)-1)) return(-1); 88 if ((c = read(rfd, buf, (size_t)n)) > 0 && write(wfd, buf, (size_t)c) != c) c = -1;
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | sfsasl.c | 564 ** wfd -- write fd 577 tls_retry(ssl, rfd, wfd, tlsstart, timeout, err, where) 580 int wfd; 618 where, rfd, wfd, err); 623 (err == SSL_ERROR_WANT_WRITE && wfd >= FD_SETSIZE))) 629 where, rfd, wfd); 656 FD_SET(wfd, &ssl_maskw); 661 ret = select(wfd + 1, NULL, &ssl_maskw, &ssl_maskx, 718 int r, rfd, wfd, try, ssl_err; local 746 wfd 830 int r, rfd, wfd, try, ssl_err; local [all...] |
H A D | deliver.c | 6106 int rfd, wfd; local 6159 wfd = sm_io_getinfo(mci->mci_out, SM_IO_WHAT_FD, NULL); 6162 if (rfd < 0 || wfd < 0 || 6164 (result = SSL_set_wfd(clt_ssl, wfd)) != 1) 6185 i = tls_retry(clt_ssl, rfd, wfd, tlsstart,
|
H A D | srvrsmtp.c | 620 int rfd, wfd; local 1877 wfd = sm_io_getinfo(OutChannel, SM_IO_WHAT_FD, NULL); 1879 if (rfd < 0 || wfd < 0 || 1881 SSL_set_wfd(srv_ssl, wfd) <= 0) 1905 i = tls_retry(srv_ssl, rfd, wfd, tlsstart,
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | update.c | 235 int wfd; local 267 wfd = open(tmpname, O_CREAT|O_RDWR|O_TRUNC, 269 if (wfd == -1) { 275 wf = fdopen(wfd, "w"); 279 (void) close(wfd);
|
/illumos-gate/usr/src/cmd/sed/ |
H A D | defs.h | 66 int wfd; /* Cached file descriptor */ member in struct:s_subst
|
H A D | process.c | 457 if (cp->u.s->wfd == -1 && (cp->u.s->wfd = open(cp->u.s->wfile, 460 if (write(cp->u.s->wfd, ps, psl) != (ssize_t)psl || 461 write(cp->u.s->wfd, "\n", 1) != 1) 754 if (cp->u.s->wfd != -1 && close(cp->u.s->wfd)) 756 cp->u.s->wfd = -1;
|
H A D | compile.c | 558 s->wfd = -1; 614 if (!aflag && (s->wfd = open(wfile,
|
/illumos-gate/usr/src/lib/libast/common/disc/ |
H A D | sfdcmore.c | 77 * output label on wfd and return next char on rfd with no echo 99 int wfd = sffileno(rp); local 104 write(wfd, label, n); 127 write(wfd, "\r", 1); 129 write(wfd, " ", 1); 130 write(wfd, "\r", 1);
|
/illumos-gate/usr/src/lib/libast/amd64/include/ast/ |
H A D | proc.h | 94 int wfd; /* write fd if applicable */ member in struct:__anon2596
|
/illumos-gate/usr/src/lib/libast/common/include/ |
H A D | proc.h | 85 int wfd; /* write fd if applicable */ member in struct:__anon2632
|
/illumos-gate/usr/src/lib/libast/i386/include/ast/ |
H A D | proc.h | 94 int wfd; /* write fd if applicable */ member in struct:__anon2696
|
/illumos-gate/usr/src/lib/libast/sparc/include/ast/ |
H A D | proc.h | 94 int wfd; /* write fd if applicable */ member in struct:__anon2718
|
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | proc.h | 94 int wfd; /* write fd if applicable */ member in struct:__anon2740
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | cu.c | 1494 int wfd; local 1498 wfd = WIOFD(fd); 1499 wiobuf = &Wiobuf[wfd*WRIOBSZ]; 1501 if (Wiop[wfd] >= &wiobuf[WRIOBSZ]) { 1506 *(Wiop[wfd]++) = _Cxc & WMASK(fd); /* mask off appropriate bits */ 1515 int wfd; local 1519 wfd = WIOFD(fd); 1520 wiobuf = &Wiobuf[wfd*WRIOBSZ]; 1522 if (Wiop[wfd] > wiobuf) { 1524 while(write(fd, wiobuf, (Wiop[wfd] [all...] |
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipfs.c | 410 int wfd = -1; local 415 wfd = open(file, O_WRONLY|O_TRUNC|O_CREAT, 0600); 416 if (wfd == -1) { 439 close(wfd); 444 if (write(wfd, ipsp, sizeof(ips)) != sizeof(ips)) { 446 close(wfd); 450 close(wfd);
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfpopen.c | 172 (sflags&SF_READ) ? proc->rfd : proc->wfd, sflags|((sflags&SF_RDWR)?0:SF_READ))) || 173 _sfpopen(f, (sflags&SF_READ) ? proc->wfd : -1, proc->pid, pflags) < 0)
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | cp.c | 225 int wfd; local 575 else if ((wfd = open(state->path, st.st_mode ? (state->wflags & ~O_EXCL) : state->wflags, ent->fts_statp->st_mode & state->perm)) < 0) 588 close(wfd); 593 if (!(op = sfnew(NiL, NiL, SF_UNBOUND, wfd, SF_WRITE))) 596 close(wfd); 605 if (sfsync(op) || state->sync && fsync(wfd) || sfclose(op)) 615 close(wfd);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/ |
H A D | wanboot-cgi.c | 274 int wfd = -1; local 278 (wfd = open(dest, O_CREAT|O_EXCL|O_RDWR, S_IRUSR|S_IWUSR)) < 0 || 292 if (!write_buffer(wfd, buf, validsize)) { 316 if (wfd != -1) { 317 (void) close(wfd); 792 int wfd = -1; local 847 if ((wfd = open((char *)truststorepath, 851 if ((wfp = fdopen(wfd, "w+")) == NULL) { 921 /* Will also close wfd */
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | netcat.c | 672 int n, wfd = fileno(stdin); local 683 pfd[1].fd = wfd; 721 if ((n = read(wfd, buf, plen)) < 0)
|