HomeSort by: relevance | last modified time | path
    Searched refs:outfd (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/lib/libcurses/
putchar.c 49 return __cputchar_args(ch, _cursesi_screen->outfd);
60 FILE *outfd = (FILE *)args; local in function:__cputchar_args
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 in function:__cputwchar_args
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);
acs.c 120 __cputchar_args, screen->outfd);
280 __cputchar_args, screen->outfd);
setterm.c 72 (void)ti_setupterm(&screen->term, type, fileno(screen->outfd), &r);
76 fileno(screen->outfd), &r);
  /src/sys/arch/zaurus/stand/zboot/
unixcons.c 39 static int outfd = 1; variable in typeref:typename:int
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 64 int c, verbose, nowrite, infd, outfd; local in function:main
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);
  /src/games/mille/
save.c 63 int outfd; local in function:save
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 in function:__sanitizer::CreateTwoHighNumberedPipes
127 outfd = sock_pair[i];
138 CHECK(outfd);
141 outfd_[0] = outfd[0];
142 outfd_[1] = outfd[1];
159 int outfd[2]; local in function:__sanitizer::SymbolizerProcess::StartSymbolizerSubprocess
160 internal_memset(&outfd, 0, sizeof(outfd));
161 if (!CreateTwoHighNumberedPipes(infd, outfd)) {
178 close(outfd[0])
    [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/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/usr.bin/midirecord/
midirecord.c 69 static int outfd, rawfd = -1; variable in typeref:typename:int
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 in function:score
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 in function:main
334 if ((outfd = mkstemp(toutpath)) == -1)
343 if ((outfp = fdopen(outfd, "w")) == NULL)
  /src/usr.bin/make/
meta.c 1650 int outfd, metafd, maxfd, nfds; local in function:meta_compat_parent
1656 outfd = childPipe[0];
1663 if (outfd > maxfd)
1664 maxfd = outfd;
1668 while (outfd != -1 || metafd != -1) {
1670 if (outfd != -1) {
1671 FD_SET(outfd, &readfds);
1683 if (outfd != -1 && FD_ISSET(outfd, &readfds) != 0) do {
1685 ssize_t nread = read(outfd, buf, sizeof buf - 1)
    [all...]
  /src/usr.sbin/tprof/
tprof.c 91 int outfd; variable in typeref:typename:int
175 wsz = write(outfd, cp, ssz);
449 outfd = open(outfile, O_WRONLY | O_CREAT | O_TRUNC, 0666);
450 if (outfd == -1) {
  /src/usr.bin/audio/common/
audio.c 228 if (writev(ti->outfd, iv, veclen) != tlen)
sun.c 170 if (ti->outfd == STDOUT_FILENO)
  /src/usr.bin/rsh/
rsh.c 303 checkfd(struct pollfd *fdp, int outfd)
326 if ((nw = write(outfd, bc, nr)) <= 0)
  /src/libexec/makewhatis/
makewhatis.c 252 int outfd; local in function:makewhatis
378 outfd = open(whatisdb_new, O_WRONLY|O_CREAT|O_EXCL,
380 if (outfd < 0)
383 if (fstat(outfd, &st_before) == -1)
386 if ((out = fdopen(outfd, "w")) == NULL)
  /src/usr.sbin/bta2dpd/bta2dpd/
sbc_encode.c 841 stream(int in, int outfd, uint8_t mode, uint8_t freq, uint8_t bands, uint8_t
970 len = write(outfd, whole, totalSize);
995 recvstream(int in, int outfd)
1050 len = write(outfd, music, totalSize);
  /src/usr.sbin/edquota/
edquota.c 776 writeprivs(struct quotalist *qlist, int outfd, const char *name,
784 (void)ftruncate(outfd, 0);
785 (void)lseek(outfd, (off_t)0, SEEK_SET);
786 if ((fd = fdopen(dup(outfd), "w")) == NULL)

Completed in 22 milliseconds

1 2