fdout
int fdin, int fdout, int fderr)
return el_init_internal(prog, fin, fout, ferr, fdin, fdout, fderr, 0);
int fdin, int fdout, int fderr, int flags)
el->el_outfd = fdout;
goto fdout;
goto fdout;
goto fdout;
goto fdout;
fdout:
bus_space_write_2(iot, ioh, fdout, 0);
bus_space_write_2(iot, ioh, fdout, FDO_FRST);
bus_space_write_2(iot, ioh, fdout, drive | FDO_FRST | FDO_MOEN(drive));
bus_space_write_1(iot, ioh, fdout, FDO_FRST);
bus_space_write_2(fdc->sc_iot, fdc->sc_ioh, fdout, status);
wrt_fdc_reg(fdout, 0);
wrt_fdc_reg(fdout, FDO_FRST);
wrt_fdc_reg(fdout, drive | FDO_FRST | FDO_MOEN(drive));
wrt_fdc_reg(fdout, FDO_FRST);
wrt_fdc_reg(fdout, status);
bus_space_write_1(iot, ioh, fdout, 0);
bus_space_write_1(iot, ioh, fdout, FDO_FRST);
if ((fdout = open(argp[2], O_CREAT | O_TRUNC | O_RDWR, 0644)) < 0) {
write(fdout, buf, fileoff);
write(fdout, buf, i);
close(fdout);
int fd, fdout, fileoff, i;
bus_space_write_1(fdc->sc_iot, fdc->sc_ioh, fdout, 0x20 | (1 << unit));
bus_space_write_1(fdc->sc_iot, fdc->sc_ioh, fdout, 0x20);
bus_space_write_1(fdc->sc_iot, fdc->sc_ioh, fdout,
bus_space_write_1(fdc->sc_iot, fdc->sc_ioh, fdout, 0x40);
bus_space_write_1(fdc->sc_iot, fdc->sc_ioh, fdout,
bus_space_write_1(fdc->sc_iot, fdc->sc_ioh, fdout, 0);
bus_space_write_1(iot, ioh, fdout, 0);
bus_space_write_1(iot, ioh, fdout, FDO_FRST);
bus_space_write_1(iot, ioh, fdout, drive | FDO_FRST | FDO_MOEN(drive));
bus_space_write_1(iot, ioh, fdout, FDO_FRST);
bus_space_write_1(fdc->sc_iot, fdc->sc_ioh, fdout, status);
bus_space_write_1(iot, ioh, fdout, 0);
bus_space_write_1(iot, ioh, fdout, FDO_FRST);
fsocreate(int domain, struct socket **sop, int type, int proto, int *fdout,
*fdout = fd;
gre_socreate(struct gre_softc *sc, const struct gre_soparm *sp, int *fdout)
*fdout = fd;
lz_create(struct lz_decoder *lz, int fin, int fdout, int dict_size,
lz->fout = fdopen(dup(fdout), "w");
lz_decode(int fin, int fdout, unsigned dict_size, off_t *insize,
if (lz_create(&lz, fin, fdout, dict_size, pre, prelen) == -1)
run_child(const char *path, const list *args, const char *crfn, int fdout)
if (fdout != -1) {
(void)dup2(fdout, STDOUT_FILENO);
(void)close(fdout);