Searched defs:wfd (Results 1 - 21 of 21) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/elfdump/common/
H A Dlintsup.c47 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 Dmain.c548 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...]
H A Delfdump.c4888 const char *wname, int wfd, uchar_t osabi)
5087 if (wfd) {
5094 if (write(wfd, _cache->c_data->d_buf,
5122 if ((wfd == 0) && (flags & FLG_CTL_MATCH) &&
4887 regular(const char *file, int fd, Elf *elf, uint_t flags, const char *wname, int wfd, uchar_t osabi) argument
/illumos-gate/usr/src/lib/libast/common/port/
H A Dastcopy.c27 * 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/keyserv/
H A Dupdate.c235 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/lib/libast/common/disc/
H A Dsfdcmore.c77 * 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/cmd/ctwatch/
H A Dctwatch.c235 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/cmd/sendmail/src/
H A Dsfsasl.c564 ** 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 Ddeliver.c6106 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 Dsrvrsmtp.c620 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/ipf/tools/
H A Dipfs.c410 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/amd64/include/ast/
H A Dproc.h94 int wfd; /* write fd if applicable */ member in struct:__anon2596
/illumos-gate/usr/src/lib/libast/common/include/
H A Dproc.h85 int wfd; /* write fd if applicable */ member in struct:__anon2632
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dproc.h94 int wfd; /* write fd if applicable */ member in struct:__anon2696
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dproc.h94 int wfd; /* write fd if applicable */ member in struct:__anon2718
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dproc.h94 int wfd; /* write fd if applicable */ member in struct:__anon2740
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcp.c225 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/sed/
H A Ddefs.h66 int wfd; /* Cached file descriptor */ member in struct:s_subst
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dnetcat.c672 int n, wfd = fileno(stdin); local
683 pfd[1].fd = wfd;
721 if ((n = read(wfd, buf, plen)) < 0)
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/
H A Dwanboot-cgi.c274 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/bnu/
H A Dcu.c1494 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...]

Completed in 1174 milliseconds