| /src/lib/libcurses/ |
| putchar.c | 49 return __cputchar_args(ch, _cursesi_screen->outfd); 60 FILE *outfd = (FILE *)args; local 64 unctrl(ch), outfd->_file); 65 status = putc(ch, outfd); 66 fflush(outfd); 75 return __cputwchar_args(wch, _cursesi_screen->outfd); 86 FILE *outfd = (FILE *)args; local 90 wch, outfd->_file); 91 status = putwc(wch, outfd); 92 fflush(outfd); [all...] |
| curs_set.c | 60 fflush(_cursesi_screen->outfd); 70 fflush(_cursesi_screen->outfd); 80 fflush(_cursesi_screen->outfd);
|
| meta.c | 55 fflush(_cursesi_screen->outfd); 62 fflush(_cursesi_screen->outfd);
|
| tstp.c | 140 if (ioctl(fileno(_cursesi_screen->outfd), TIOCGWINSZ, &win) != -1 && 241 (void)fflush(_cursesi_screen->outfd); 243 (void)setvbuf(_cursesi_screen->outfd, NULL, _IOLBF, 0); 273 if (ioctl(fileno(_cursesi_screen->outfd), TIOCGWINSZ, &win) != -1 &&
|
| screen.c | 127 newterm(const char *type, FILE *outfd, FILE *infd) 151 new_screen->outfd = outfd;
|
| tty.c | 116 if (tcgetattr(fileno(screen->outfd), &screen->orig_termios)) { 553 (void)setvbuf(screen->outfd, screen->stdbuf, _IOFBF, screen->len); 557 __cputchar_args, (void *) screen->outfd); 559 __cputchar_args, (void *) screen->outfd); 562 __cputchar_args, (void *) screen->outfd);
|
| /src/sys/arch/zaurus/stand/zboot/ |
| 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);
|
| /src/sys/arch/alpha/stand/mkbootimage/ |
| mkbootimage.c | 65 int c, verbose, nowrite, infd, outfd; local 153 outfd = STDOUT_FILENO; 155 } else if ((outfd = open(outfile, O_WRONLY|O_CREAT, 0666)) == -1) 159 rv = write(outfd, outbuf, outbufsize); 164 (void)close(outfd);
|
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/ |
| dmu_send.h | 44 boolean_t large_block_ok, int outfd, uint64_t resumeobj, uint64_t resumeoff, 57 int outfd, struct vnode *vp, offset_t *off); 59 int outfd, struct file *fp, offset_t *off);
|
| /src/games/mille/ |
| save.c | 63 int outfd; local 115 if ((outfd = creat(buf, 0644)) < 0) { 122 rv = varpush(outfd, writev); 123 close(outfd);
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| sanitizer_symbolizer_posix_libcdep.cc | 108 int *outfd = NULL; local 127 outfd = sock_pair[i]; 138 CHECK(outfd); 141 outfd_[0] = outfd[0]; 142 outfd_[1] = outfd[1]; 159 int outfd[2]; local 160 internal_memset(&outfd, 0, sizeof(outfd)); 161 if (!CreateTwoHighNumberedPipes(infd, outfd)) { 178 close(outfd[0]) [all...] |
| /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| sanitizer_symbolizer_posix_libcdep.cpp | 96 int *outfd = NULL; local 115 outfd = sock_pair[i]; 126 CHECK(outfd); 129 outfd_[0] = outfd[0]; 130 outfd_[1] = outfd[1]; 172 fd_t infd[2] = {}, outfd[2] = {}; local 173 if (!CreateTwoHighNumberedPipes(infd, outfd)) { 179 pid = StartSubprocess(path_, argv, GetEnvP(), /* stdin */ outfd[0], 183 internal_close(outfd[1]); 188 output_fd_ = outfd[1] [all...] |
| /src/usr.bin/mail/ |
| popen.c | 156 prepare_child(sigset_t *nset, int infd, int outfd) 172 if (outfd >= 0 && outfd != 1) 173 (void)dup2(outfd, 1); 196 start_commandv(const char *cmd, sigset_t *nset, int infd, int outfd, 215 prepare_child(nset, infd, outfd); 225 start_command(const char *cmd, sigset_t *nset, int infd, int outfd, ...) 230 va_start(args, outfd); 231 r = start_commandv(cmd, nset, infd, outfd, args); 435 run_command(const char *cmd, sigset_t *nset, int infd, int outfd, ... [all...] |
| /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| sanitizer_symbolizer_posix_libcdep.cpp | 95 int *outfd = NULL; local 114 outfd = sock_pair[i]; 125 CHECK(outfd); 128 outfd_[0] = outfd[0]; 129 outfd_[1] = outfd[1]; 171 fd_t infd[2] = {}, outfd[2] = {}; local 172 if (!CreateTwoHighNumberedPipes(infd, outfd)) { 178 pid = StartSubprocess(path_, argv, GetEnvP(), /* stdin */ outfd[0], 182 internal_close(outfd[1]); 187 output_fd_ = outfd[1] [all...] |
| /src/usr.bin/audio/record/ |
| record.c | 224 ti.outfd = open(*argv, O_CREAT|(aflag ? O_APPEND : O_TRUNC)|O_WRONLY, 0666); 225 if (ti.outfd < 0) 228 ti.outfd = STDOUT_FILENO; 363 if (write(ti.outfd, buffer, nread) != nread) 387 close(ti.outfd); 406 if (ti.outfd == STDOUT_FILENO) 408 if (lseek(ti.outfd, (off_t)0, SEEK_SET) == (off_t)-1)
|
| /src/external/gpl3/gcc.old/dist/gcc/config/gcn/ |
| mkoffload.cc | 341 FILE *outfd = fopen (outfile, "r+b"); local 342 if (!outfd) 346 if (fread (&ehdr, sizeof (ehdr), 1, outfd) != 1) 348 fclose (outfd); 380 if (fseek (outfd, ehdr.e_shoff, SEEK_SET) == -1 382 outfd) != ehdr.e_shnum) 385 fclose (outfd); 396 if (fseek (outfd, sections[i].sh_offset, SEEK_SET) == -1 397 || fread (data, sections[i].sh_size, 1, outfd) != 1) 440 if (fseek (outfd, sections[i].sh_offset, SEEK_SET) != -1 [all...] |
| /src/external/gpl3/gcc/dist/gcc/config/gcn/ |
| mkoffload.cc | 341 FILE *outfd = fopen (outfile, "r+b"); local 342 if (!outfd) 346 if (fread (&ehdr, sizeof (ehdr), 1, outfd) != 1) 348 fclose (outfd); 371 if (fseek (outfd, ehdr.e_shoff, SEEK_SET) == -1 373 outfd) != ehdr.e_shnum) 376 fclose (outfd); 387 if (fseek (outfd, sections[i].sh_offset, SEEK_SET) == -1 388 || fread (data, sections[i].sh_size, 1, outfd) != 1) 431 if (fseek (outfd, sections[i].sh_offset, SEEK_SET) != -1 [all...] |
| /src/usr.bin/midirecord/ |
| midirecord.c | 69 static int outfd, rawfd = -1; variable 197 outfd = open(*argv, mode, 0666); 198 if (outfd < 0) 202 outfd = STDOUT_FILENO; 275 if ((size_t)write(outfd, buffer, wrsize) != wrsize) 739 if (close(outfd) != 0) 757 if (lseek(outfd, (off_t)0, SEEK_SET) == (off_t)-1) 804 if (write(outfd, header, sizeof header) != sizeof header) 806 if (write(outfd, track, sizeof track) != sizeof track) 808 if (write(outfd, bpm, sizeof bpm) != sizeof bpm [all...] |
| /src/games/warp/ |
| score.c | 525 FILE *outfd; local 552 (outfd = fopen(TMPSCOREBOARD,"w")) != NULL) { 562 fprintf(outfd, "%s", buf); 566 fclose(outfd); 570 fprintf(outfd, "%-24s%-8s%8ld%c %2d %4d %s", 577 fprintf(outfd, "%s", buf); 586 fprintf(outfd, "%s", buf); 593 fclose(outfd); 602 fclose(outfd);
|
| /src/usr.bin/sort/ |
| sort.c | 328 int outfd; local 334 if ((outfd = mkstemp(toutpath)) == -1) 343 if ((outfp = fdopen(outfd, "w")) == NULL)
|
| /src/external/gpl3/binutils/dist/libiberty/ |
| simple-object.c | 342 int outfd; local 368 outfd = open (dest, O_CREAT|O_WRONLY|O_TRUNC|O_BINARY, 00777); 369 if (outfd == -1) 376 errmsg = simple_object_write_to_file (dest_sobj, outfd, err); 377 close (outfd);
|
| /src/external/gpl3/binutils.old/dist/libiberty/ |
| simple-object.c | 342 int outfd; local 368 outfd = open (dest, O_CREAT|O_WRONLY|O_TRUNC|O_BINARY, 00777); 369 if (outfd == -1) 376 errmsg = simple_object_write_to_file (dest_sobj, outfd, err); 377 close (outfd);
|
| /src/external/gpl3/gcc.old/dist/libiberty/ |
| simple-object.c | 342 int outfd; local 368 outfd = open (dest, O_CREAT|O_WRONLY|O_TRUNC|O_BINARY, 00777); 369 if (outfd == -1) 376 errmsg = simple_object_write_to_file (dest_sobj, outfd, err); 377 close (outfd);
|
| /src/external/gpl3/gcc/dist/libiberty/ |
| simple-object.c | 342 int outfd; local 368 outfd = open (dest, O_CREAT|O_WRONLY|O_TRUNC|O_BINARY, 00777); 369 if (outfd == -1) 376 errmsg = simple_object_write_to_file (dest_sobj, outfd, err); 377 close (outfd);
|
| /src/external/gpl3/gdb/dist/libiberty/ |
| simple-object.c | 342 int outfd; local 368 outfd = open (dest, O_CREAT|O_WRONLY|O_TRUNC|O_BINARY, 00777); 369 if (outfd == -1) 376 errmsg = simple_object_write_to_file (dest_sobj, outfd, err); 377 close (outfd);
|