HomeSort by: relevance | last modified time | path
    Searched refs:fdout (Results 1 - 23 of 23) sorted by relevancy

  /src/external/bsd/nsd/dist/
popen3.c 32 int fdout[] = { -1, -1 }; local
46 if(fdoutptr != NULL && pipe(fdout) == -1) {
73 if(dup2(fdout[1], 1) == -1) {
76 close_pipe(fdout);
133 close(fdout[1]);
134 *fdoutptr = fdout[0];
147 close_pipe(fdout);
verify.c 419 int fdin, fderr, fdout, flags; local
426 fdin = fdout = fderr = -1;
469 command, fdin == -2 ? &fdin : NULL, &fdout, &fderr);
482 flags = fcntl(fdout, F_GETFL, 0);
483 if(fcntl(fdout, F_SETFL, flags | O_NONBLOCK) == -1) {
522 verifier->output_stream.fd = fdout;
611 close(fdout);
  /src/sys/arch/ews4800mips/stand/common/
coffhdrfix.c 83 int fd, fdout, fileoff, i; local
118 if ((fdout = open(argp[2], O_CREAT | O_TRUNC | O_RDWR, 0644)) < 0) {
124 write(fdout, buf, fileoff);
127 write(fdout, buf, i);
129 close(fdout);
  /src/sys/arch/acorn32/mainbus/
fdreg.h 43 #define fdout 2 /* Digital Output Register (W) */ macro
fd.c 338 bus_space_write_2(iot, ioh, fdout, 0);
340 bus_space_write_2(iot, ioh, fdout, FDO_FRST);
463 bus_space_write_2(iot, ioh, fdout, drive | FDO_FRST | FDO_MOEN(drive));
482 bus_space_write_1(iot, ioh, fdout, FDO_FRST);
710 bus_space_write_2(fdc->sc_iot, fdc->sc_ioh, fdout, status);
  /src/sys/arch/atari/dev/
hdfdreg.h 56 #define fdout 0x40 /* Digital Output Register (W) */ macro
hdfd.c 369 wrt_fdc_reg(fdout, 0);
371 wrt_fdc_reg(fdout, FDO_FRST);
491 wrt_fdc_reg(fdout, drive | FDO_FRST | FDO_MOEN(drive));
516 wrt_fdc_reg(fdout, FDO_FRST);
750 wrt_fdc_reg(fdout, status);
  /src/sys/arch/x68k/dev/
fdreg.h 44 #define fdout 2 /* Digital Output Register (W) */ macro
fd.c 946 bus_space_write_1(fdc->sc_iot, fdc->sc_ioh, fdout,
948 bus_space_write_1(fdc->sc_iot, fdc->sc_ioh, fdout, 0x40);
990 bus_space_write_1(fdc->sc_iot, fdc->sc_ioh, fdout,
992 bus_space_write_1(fdc->sc_iot, fdc->sc_ioh, fdout, 0);
1856 bus_space_write_1(fdc->sc_iot, fdc->sc_ioh, fdout, 0x20 | (1 << unit));
1858 bus_space_write_1(fdc->sc_iot, fdc->sc_ioh, fdout, 0x20);
  /src/sys/dev/isa/
fdreg.h 42 #define fdout 0 /* Digital Output Register (W) */ macro
fdc_isa.c 157 bus_space_write_1(iot, ioh, fdout, 0);
159 bus_space_write_1(iot, ioh, fdout, FDO_FRST);
fd.c 416 bus_space_write_1(iot, ioh, fdout, 0);
418 bus_space_write_1(iot, ioh, fdout, FDO_FRST);
513 bus_space_write_1(iot, ioh, fdout, drive | FDO_FRST | FDO_MOEN(drive));
539 bus_space_write_1(iot, ioh, fdout, FDO_FRST);
845 bus_space_write_1(fdc->sc_iot, fdc->sc_ioh, fdout, status);
  /src/external/bsd/openldap/dist/libraries/liblmdb/
mplay.c 78 int fdout, fdin; member in struct:pidpair
480 int fdout[2], fdin[2]; local
484 pipe(fdout);
490 dup2(fdout[0], 0);
498 pids[npids].fdout = fdout[1];
528 write(pp->fdout, "exit\n", sizeof("exit"));
544 close(pids[i].fdout);
579 write(pp->fdout, ptr, len); /* send command and wait for ack */
  /src/sys/arch/atari/isa/
fdcisa.c 155 bus_space_write_1(iot, ioh, fdout, 0);
157 bus_space_write_1(iot, ioh, fdout, FDO_FRST);
  /src/lib/libedit/
el.c 74 int fdin, int fdout, int fderr, int flags)
86 el->el_outfd = fdout;
126 int fdin, int fdout, int fderr)
128 return el_init_internal(prog, fin, fout, ferr, fdin, fdout, fderr, 0);
  /src/external/gpl2/xcvs/dist/src/
filesubr.c 44 int fdin, fdout; local
78 if ((fdout = creat (to, (int) sb.st_mode & 07777)) < 0)
99 if (write(fdout, buf, n) != n) {
107 if (close (fdout) < 0)
  /src/sbin/ldconfig/
ldconfig.c 470 goto fdout;
475 goto fdout;
479 goto fdout;
483 goto fdout;
504 fdout:
  /src/external/bsd/atf/dist/atf-c/detail/
fs.c 225 do_mkstemp(char *tmpl, int *fdout)
231 *fdout = mkstemp(tmpl);
232 if (*fdout == -1)
826 atf_fs_mkstemp(atf_fs_path_t *p, int *fdout)
846 *fdout = fd;
  /src/usr.bin/gzip/
unlz.c 356 lz_create(struct lz_decoder *lz, int fin, int fdout, int dict_size,
381 lz->fout = fdopen(dup(fdout), "w");
592 lz_decode(int fin, int fdout, unsigned dict_size, off_t *insize,
598 if (lz_create(&lz, fin, fdout, dict_size, pre, prelen) == -1)
  /src/sys/net/
if_gre.c 435 gre_socreate(struct gre_softc *sc, const struct gre_soparm *sp, int *fdout)
490 *fdout = fd;
  /src/sys/external/bsd/compiler_rt/dist/include/sanitizer/
linux_syscall_hooks.h 1684 #define __sanitizer_syscall_pre_tee(fdin, fdout, len, flags) \
1685 __sanitizer_syscall_pre_impl_tee((long)(fdin), (long)(fdout), (long)(len), \
1687 #define __sanitizer_syscall_post_tee(res, fdin, fdout, len, flags) \
1688 __sanitizer_syscall_post_impl_tee(res, (long)(fdin), (long)(fdout), \
2969 void __sanitizer_syscall_pre_impl_tee(long fdin, long fdout, long len,
2971 void __sanitizer_syscall_post_impl_tee(long res, long fdin, long fdout,
  /src/external/gpl3/gcc.old/dist/libsanitizer/include/sanitizer/
linux_syscall_hooks.h 1692 #define __sanitizer_syscall_pre_tee(fdin, fdout, len, flags) \
1693 __sanitizer_syscall_pre_impl_tee((long)(fdin), (long)(fdout), (long)(len), \
1695 #define __sanitizer_syscall_post_tee(res, fdin, fdout, len, flags) \
1696 __sanitizer_syscall_post_impl_tee(res, (long)(fdin), (long)(fdout), \
2984 void __sanitizer_syscall_pre_impl_tee(long fdin, long fdout, long len,
2986 void __sanitizer_syscall_post_impl_tee(long res, long fdin, long fdout,
  /src/sys/kern/
uipc_socket.c 582 * => On success, write file descriptor to *fdout and *fpp and return zero.
583 * => On failure, return non-zero; *fdout and *fpp will be undefined.
586 fsocreate(int domain, struct socket **sop, int type, int proto, int *fdout,
619 *fdout = fd;

Completed in 100 milliseconds