/netbsd-6-1-5-RELEASE/lib/libcurses/ |
H A D | putchar.c | 51 return (putc(ch, _cursesi_screen->outfd)); 62 FILE *outfd = (FILE *) args; local 66 unctrl(ch), outfd->_file); 68 return putc(ch, outfd); 78 return (putwc(wch, _cursesi_screen->outfd)); 89 FILE *outfd = (FILE *) args; local 93 wch, outfd->_file); 95 return putwc(wch, outfd);
|
H A D | curs_set.c | 62 fflush(_cursesi_screen->outfd); 74 fflush(_cursesi_screen->outfd); 87 fflush(_cursesi_screen->outfd);
|
H A D | meta.c | 54 fflush(_cursesi_screen->outfd); 63 fflush(_cursesi_screen->outfd);
|
H A D | screen.c | 111 newterm(char *type, FILE *outfd, FILE *infd) argument 128 new_screen->outfd = outfd;
|
H A D | tstp.c | 142 if (ioctl(fileno(_cursesi_screen->outfd), TIOCGWINSZ, &win) != -1 && 244 (void) fflush(_cursesi_screen->outfd); 245 (void) setvbuf(_cursesi_screen->outfd, NULL, _IOLBF, (size_t) 0); 277 if (ioctl(fileno(_cursesi_screen->outfd), TIOCGWINSZ, &win) != -1 &&
|
H A D | setterm.c | 72 (void)ti_setupterm(&screen->term, type, fileno(screen->outfd), &r); 76 fileno(screen->outfd), &r); 86 if (ioctl(fileno(screen->outfd), TIOCGWINSZ, &win) != -1 &&
|
H A D | tty.c | 557 (void) setvbuf(screen->outfd, screen->stdbuf, _IOFBF, screen->len); 560 __cputchar_args, (void *) screen->outfd); 562 __cputchar_args, (void *) screen->outfd); 565 __cputchar_args, (void *) screen->outfd);
|
H A D | acs.c | 122 __cputchar_args, screen->outfd); 290 __cputchar_args, screen->outfd);
|
H A D | curses_private.h | 188 FILE *infd, *outfd; /* input and output file descriptors */ member in struct:__screen
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.misc-tests/ |
H A D | dectest.exp | 267 set outfd [open $filename w] 269 puts $outfd [c-test-preamble $id] 270 puts $outfd [c-union-decl] 273 puts $outfd " static unsigned char compare\[[c-sizeof-decimal-type]\] = [transform-hex-constant $result];" 278 puts $outfd " static unsigned char fill\[[c-sizeof-decimal-type]\] = [transform-hex-constant $op1];" 282 puts $outfd "" 283 puts $outfd " /* FIXME: Set rounding mode with fesetround() once in libc. */" 284 puts $outfd " __dfp_set_round ([c-rounding-mode $directives(rounding)]);" 285 puts $outfd "" 290 puts $outfd " memcp [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/zaurus/stand/zboot/ |
H A D | unixcons.c | 39 static int outfd = 1; variable 66 if (infd >= 0 && infd == outfd) { 69 outfd = 1; 74 outfd = 1; 83 infd = outfd = fd; 107 common_putc(outfd, c);
|
/netbsd-6-1-5-RELEASE/sys/arch/alpha/stand/mkbootimage/ |
H A D | mkbootimage.c | 64 int c, verbose, nowrite, infd, outfd; local 152 outfd = STDOUT_FILENO; 154 } else if ((outfd = open(outfile, O_WRONLY|O_CREAT, 0666)) == -1) 158 rv = write(outfd, outbuf, outbufsize); 163 (void)close(outfd);
|
/netbsd-6-1-5-RELEASE/games/mille/ |
H A D | save.c | 63 int outfd; local 115 if ((outfd = creat(buf, 0644)) < 0) { 122 rv = varpush(outfd, writev); 123 close(outfd);
|
/netbsd-6-1-5-RELEASE/usr.sbin/tprof/ |
H A D | tprof.c | 54 int outfd; variable 90 wsz = write(outfd, cp, ssz); 134 outfd = STDOUT_FILENO; 136 outfd = open(outfile, O_WRONLY | O_CREAT | O_TRUNC, 0666); 137 if (outfd == -1) {
|
/netbsd-6-1-5-RELEASE/usr.bin/mail/ |
H A D | popen.c | 160 prepare_child(sigset_t *nset, int infd, int outfd) argument 176 if (outfd >= 0 && outfd != 1) 177 (void)dup2(outfd, 1); 200 start_commandv(const char *cmd, sigset_t *nset, int infd, int outfd, argument 219 prepare_child(nset, infd, outfd); 229 start_command(const char *cmd, sigset_t *nset, int infd, int outfd, ...) argument 234 va_start(args, outfd); 235 r = start_commandv(cmd, nset, infd, outfd, args); 441 run_command(const char *cmd, sigset_t *nset, int infd, int outfd, argument [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/audio/record/ |
H A D | record.c | 64 static int audiofd, outfd; variable 219 outfd = open(*argv, O_CREAT|(aflag ? O_APPEND : O_TRUNC)|O_WRONLY, 0666); 220 if (outfd < 0) 223 outfd = STDOUT_FILENO; 340 if ((size_t)write(outfd, buffer, bufsize) != bufsize) 364 close(outfd); 448 if (outfd == STDOUT_FILENO) 627 if (outfd == STDOUT_FILENO) 746 if (writev(outfd, iv, veclen) != tlen) 755 if (outfd [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/sort/ |
H A D | sort.c | 327 int outfd; local 333 if ((outfd = mkstemp(toutpath)) == -1) 342 if ((outfp = fdopen(outfd, "w")) == NULL)
|
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/lib/libzfs/common/ |
H A D | libzfs_sendrecv.c | 172 cksum_and_write(const void *buf, uint64_t len, zio_cksum_t *zc, int outfd) argument 175 return (write(outfd, buf, len)); 207 int outfd; local 239 outfd = dda->outputfd; 256 &stream_cksum, outfd) == -1) 270 outfd) == -1) 282 if ((write(outfd, drr, 291 &stream_cksum, outfd) == -1) 299 &stream_cksum, outfd) == -1) 308 &stream_cksum, outfd) 837 int outfd; member in struct:send_dump_data 850 dump_ioctl(zfs_handle_t *zhp, const char *fromsnap, boolean_t fromorigin, int outfd, boolean_t enoent_ok, boolean_t *got_enoent) argument 1139 zfs_send(zfs_handle_t *zhp, const char *fromsnap, const char *tosnap, sendflags_t flags, int outfd, snapfilter_cb_t filter_func, void *cb_arg) argument [all...] |
/netbsd-6-1-5-RELEASE/dist/pppd/pppd/ |
H A D | main.c | 1561 safe_fork(int infd, int outfd, int errfd) argument 1597 /* make sure infd, outfd and errfd won't get tromped on below */ 1600 if (outfd == 0 || outfd == 2) 1601 outfd = dup(outfd); 1608 if (outfd != 1) 1609 dup2(outfd, 1); 1624 if (outfd != 1) 1625 close(outfd); [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/rsh/ |
H A D | rsh.c | 301 checkfd(struct pollfd *fdp, int outfd) argument 329 if ((nw = write(outfd, bc, nr)) <= 0)
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/netpgp/dist/src/lib/ |
H A D | validate.c | 803 int outfd = 0; local 871 outfd = STDOUT_FILENO; 873 outfd = open(outfile, O_WRONLY | O_CREAT, 0666); 875 if (outfd < 0) { 888 cc = (int)write(outfd, &cp[i], (unsigned)(len - i)); 897 (void) close(outfd);
|
/netbsd-6-1-5-RELEASE/libexec/makewhatis/ |
H A D | makewhatis.c | 251 int outfd; local 377 outfd = open(whatisdb_new, O_WRONLY|O_CREAT|O_EXCL, 379 if (outfd < 0) 382 if (fstat(outfd, &st_before) == -1) 385 if ((out = fdopen(outfd, "w")) == NULL)
|
/netbsd-6-1-5-RELEASE/usr.sbin/sup/source/ |
H A D | supcmeat.c | 1364 int outfd = -1; local 1370 (outfd = open(tname, O_WRONLY | O_CREAT | O_TRUNC | O_EXCL, 0600)) == -1 || 1371 runiofd(av, infd, outfd, 2) != 0) { 1377 if (outfd != -1) 1378 (void) close(outfd); 1383 (void) close(outfd);
|
/netbsd-6-1-5-RELEASE/usr.sbin/edquota/ |
H A D | edquota.c | 770 writeprivs(struct quotalist *qlist, int outfd, const char *name, argument 778 (void)ftruncate(outfd, 0); 779 (void)lseek(outfd, (off_t)0, SEEK_SET); 780 if ((fd = fdopen(dup(outfd), "w")) == NULL)
|
/netbsd-6-1-5-RELEASE/usr.bin/ftp/ |
H A D | ftp.c | 569 * Read data from infd & write to outfd, using buf/bufsize as the temporary 578 copy_bytes(int infd, int outfd, char *buf, size_t bufsize, argument 610 outc = write(outfd, bufp, inc);
|