/macosx-10.9.5/emacs-92/emacs/nt/ |
H A D | runemacs.c | 79 WIN32_FIND_DATA wfd; local 83 fh = FindFirstFile (new_cmdline, &wfd); 88 if (wfd.ftLastWriteTime.dwHighDateTime > best_time.dwHighDateTime 89 || (wfd.ftLastWriteTime.dwHighDateTime == best_time.dwHighDateTime 90 && wfd.ftLastWriteTime.dwLowDateTime > best_time.dwLowDateTime)) 92 best_time = wfd.ftLastWriteTime; 93 strcpy (best_name, wfd.cFileName); 96 while (FindNextFile (fh, &wfd));
|
/macosx-10.9.5/ruby-104/ruby/test/-ext-/wait_for_single_fd/ |
H A D | test_wait_for_single_fd.rb | 28 wfd = w.fileno 31 IO.wait_for_single_fd(wfd, RB_WAITFD_OUT, nil)
|
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/misc/ |
H A D | procclose.c | 44 if (p->wfd >= 0 && p->wfd != p->rfd) 45 close(p->wfd);
|
H A D | procopen.c | 468 proc->wfd = -1; 861 proc->wfd = pio[1]; 866 proc->wfd = pio[0]; 868 proc->wfd = poi[1]; 879 if (proc->wfd > 2) 880 fcntl(proc->wfd, F_SETFD, FD_CLOEXEC);
|
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/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;
|
/macosx-10.9.5/cctools-845/ar/ |
H A D | archive.h | 86 cf.wfd = to; \ 95 int wfd; /* write file descriptor */ member in struct:__anon6847
|
H A D | move.c | 120 cf.wfd = tfd2; 128 cf.wfd = curfd; 133 cf.wfd = curfd;
|
H A D | extract.c | 130 cf.wfd = tfd;
|
H A D | archive.c | 366 if (write(cfp->wfd, hb, sizeof(HDR)) != sizeof(HDR)) 374 if (write(cfp->wfd, name, lname) != (int)lname) 379 if (write(cfp->wfd, pad, 4-(lname%4)) != 419 to = cfp->wfd;
|
/macosx-10.9.5/sudo-72/src/ |
H A D | exec_pty.c | 89 int wfd; /* writer (consumer) */ member in struct:io_buffer 305 io_buf_new(rfd, wfd, action, head) 307 int wfd; 315 iob->wfd = wfd; 361 if (iob->wfd != -1 && FD_ISSET(iob->wfd, fdsw)) { 363 n = write(iob->wfd, iob->buf + iob->off, 373 safe_close(iob->wfd); 374 iob->wfd [all...] |
/macosx-10.9.5/text_cmds-87/cat/ |
H A D | cat.c | 240 int off, wfd; local 246 wfd = fileno(stdout); 248 if (fstat(wfd, &sbuf)) 256 if ((nw = write(wfd, buf + off, (size_t)nr)) < 0)
|
/macosx-10.9.5/text_cmds-87/sed/ |
H A D | defs.h | 64 int wfd; /* Cached file descriptor */ member in struct:s_subst
|
H A D | process.c | 415 if (cp->u.s->wfd == -1 && (cp->u.s->wfd = open(cp->u.s->wfile, 418 if (write(cp->u.s->wfd, ps, psl) != psl || 419 write(cp->u.s->wfd, "\n", 1) != 1) 707 if (cp->u.s->wfd != -1 && close(cp->u.s->wfd)) 709 cp->u.s->wfd = -1;
|
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/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);
|
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/include/ |
H A D | proc.h | 89 int wfd; /* write fd if applicable */ member in struct:__anon9285
|
/macosx-10.9.5/syslog-217.1.4/syslogd.tproj/ |
H A D | remote.c | 131 int i, s, wfd, status, pfmt, watch, wtoken, nfd, do_prompt; local 156 wfd = -1; 205 if (wfd != -1) 207 FD_SET(wfd, &readfds); 208 if (wfd > nfd) nfd = wfd; 225 if ((wfd != -1) && (FD_ISSET(wfd, &readfds))) 227 (void)read(wfd, &i, sizeof(int)); 473 wfd [all...] |
/macosx-10.9.5/emacs-92/emacs/src/ |
H A D | w32.c | 2378 WIN32_FIND_DATA wfd; 2425 memset (&wfd, 0, sizeof (wfd)); 2426 wfd.dwFileAttributes = attrs; 2427 wfd.ftCreationTime = utc_base_ft; 2428 wfd.ftLastAccessTime = utc_base_ft; 2429 wfd.ftLastWriteTime = utc_base_ft; 2430 strcpy (wfd.cFileName, name); 2441 memset (&wfd, 0, sizeof (wfd)); 2376 WIN32_FIND_DATA wfd; local [all...] |
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/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)
|
/macosx-10.9.5/libxml2-26/libxml2/ |
H A D | nanohttp.c | 459 fd_set wfd; local 493 FD_ZERO(&wfd); 498 FD_SET(ctxt->fd, &wfd); 502 (void) select(ctxt->fd + 1, NULL, &wfd, NULL, &tv); 854 fd_set wfd; local 954 FD_ZERO(&wfd); 955 FD_SET(s, &wfd); 961 switch (select(s + 1, NULL, &wfd, &xfd, &tv)) 963 switch (select(s + 1, NULL, &wfd, NULL, &tv)) 989 if (FD_ISSET(s, &wfd) [all...] |
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-core/libxml2-src/ |
H A D | nanohttp.c | 454 fd_set wfd; local 488 FD_ZERO(&wfd); 493 FD_SET(ctxt->fd, &wfd); 497 (void) select(ctxt->fd + 1, NULL, &wfd, NULL, &tv); 849 fd_set wfd; local 949 FD_ZERO(&wfd); 950 FD_SET(s, &wfd); 956 switch (select(s + 1, NULL, &wfd, &xfd, &tv)) 958 switch (select(s + 1, NULL, &wfd, NULL, &tv)) 984 if (FD_ISSET(s, &wfd) [all...] |
/macosx-10.9.5/OpenSSH-186/openssh/ |
H A D | channels.c | 227 channel_register_fds(Channel *c, int rfd, int wfd, int efd, argument 232 channel_max_fd = MAX(channel_max_fd, wfd); 237 if (wfd != -1 && wfd != rfd) 238 fcntl(wfd, F_SETFD, FD_CLOEXEC); 239 if (efd != -1 && efd != rfd && efd != wfd) 243 c->wfd = wfd; 244 c->sock = (rfd == wfd) ? rfd : -1; 250 c->wfd_isatty = is_tty || isatty(c->wfd); 268 channel_new(char *ctype, int type, int rfd, int wfd, int efd, u_int window, u_int maxpack, int extusage, char *remote_name, int nonblock) argument 769 channel_set_fds(int id, int rfd, int wfd, int efd, int extusage, int nonblock, int is_tty, u_int window_max) argument [all...] |
H A D | channels.h | 100 int wfd; /* write fd */ member in struct:Channel 105 int wfd_isatty; /* wfd is a tty */
|
H A D | nchan.c | 501 if (channel_close_fd(&c->wfd) < 0) 504 c->self, c->wfd, strerror(errno));
|
/macosx-10.9.5/ksh-20/ksh/src/lib/libcmd/ |
H A D | cp.c | 243 int wfd; local 594 else if ((wfd = open(state->path, st.st_mode ? (state->wflags & ~O_EXCL) : state->wflags, ent->fts_statp->st_mode & state->perm)) < 0) 607 close(wfd); 612 if (!(op = sfnew(NiL, NiL, SF_UNBOUND, wfd, SF_WRITE))) 615 close(wfd); 624 if (sfsync(op) || state->sync && fsync(wfd) || sfclose(op)) 634 close(wfd);
|
/macosx-10.9.5/netcat-20/ |
H A D | netcat.c | 872 int n, wfd = fileno(stdin); local 888 pfd[1].fd = wfd; 905 FD_SET(wfd, &readfds); 945 if (!dflag && FD_ISSET(wfd, &readfds)) { 949 if ((n = read(wfd, buf, plen)) < 0)
|