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

  /src/sys/arch/zaurus/stand/zboot/
unixcons.c 38 static int infd = 0; variable in typeref:typename:int
66 if (infd >= 0 && infd == outfd) {
67 uclose(infd);
68 infd = 0;
73 infd = 0;
83 infd = outfd = fd;
114 return common_getc(infd, 1);
163 linux_tcgetattr(infd, &orig_termios);
166 linux_tcsetattr(infd, LINUX_TCSETS, &raw_termios)
    [all...]
  /src/lib/libcurses/
get_wch.c 56 static wint_t __fgetwc_resize(FILE *infd, bool *resized);
84 FILE *infd = _cursesi_screen->infd; local in function:inkey
95 c = __fgetc_resize(infd);
97 clearerr(infd);
137 c = __fgetc_resize(infd);
138 if (c == ERR || ferror(infd)) {
139 clearerr(infd);
149 if (feof(infd)) { /* inter-char T/O, start backout */
150 clearerr(infd);
440 FILE *infd = _cursesi_screen->infd; local in function:wget_wch
    [all...]
tty.c 114 if (tcgetattr(fileno(screen->infd), &screen->orig_termios)) {
164 return tcsetattr(fileno(screen->infd), TCSASOFT | TCSADRAIN,
184 return tcsetattr(fileno(_cursesi_screen->infd), TCSASOFT | TCSADRAIN,
204 return tcsetattr(fileno(_cursesi_screen->infd), TCSASOFT | TCSADRAIN,
225 return tcsetattr(fileno(_cursesi_screen->infd), TCSASOFT | TCSADRAIN,
252 return tcsetattr(fileno(_cursesi_screen->infd), TCSASOFT | TCSADRAIN,
296 if (tcsetattr(fileno(_cursesi_screen->infd), TCSASOFT | TCSANOW,
322 if (tcsetattr(fileno(_cursesi_screen->infd), TCSASOFT | TCSANOW,
380 if (tcsetattr(fileno(_cursesi_screen->infd), TCSASOFT | TCSANOW,
406 return tcsetattr(fileno(_cursesi_screen->infd), TCSASOFT | TCSANOW
    [all...]
tstp.c 222 (void)tcgetattr(fileno(_cursesi_screen->infd),
248 return tcsetattr(fileno(_cursesi_screen->infd), TCSASOFT | TCSADRAIN,
297 (void)tcgetattr(fileno(_cursesi_screen->infd),
301 (void)tcsetattr(fileno(_cursesi_screen->infd), TCSASOFT | TCSADRAIN,
327 return tcgetattr(fileno(_cursesi_screen->infd),
335 return tcsetattr(fileno(_cursesi_screen->infd), TCSASOFT | TCSADRAIN,
343 return tcgetattr(fileno(_cursesi_screen->infd),
getch.c 540 FILE *infd = _cursesi_screen->infd; local in function:inkey
550 c = __fgetc_resize(infd);
552 clearerr(infd);
592 c = __fgetc_resize(infd);
593 if (ferror(infd)) {
594 clearerr(infd);
603 if (feof(infd) || c == -1) { /* inter-char timeout,
605 clearerr(infd);
790 FILE *infd = _cursesi_screen->infd local in function:wgetch
    [all...]
screen.c 127 newterm(const char *type, FILE *outfd, FILE *infd)
141 new_screen->infd = infd;
143 * POSIX standard says this should be set to infd by default,
150 new_screen->checkfd = -1; // fileno(infd);
curses_private.h 213 FILE *infd, *outfd; /* input and output file descriptors */ member in struct:__screen
  /src/sys/arch/alpha/stand/mkbootimage/
mkbootimage.c 64 int c, verbose, nowrite, infd, outfd; local in function:main
102 if ((infd = open(infile, O_RDONLY)) == -1)
104 if (fstat(infd, &insb) == -1)
123 rv = read(infd, outbuf + sizeof (struct alpha_boot_block),
129 (void)close(infd);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_symbolizer_posix_libcdep.cc 107 int *infd = NULL; local in function:__sanitizer::CreateTwoHighNumberedPipes
124 if (infd == NULL) {
125 infd = sock_pair[i];
129 if (sock_pair[j] == infd) continue;
137 CHECK(infd);
139 infd_[0] = infd[0];
140 infd_[1] = infd[1];
157 int infd[2]; local in function:__sanitizer::SymbolizerProcess::StartSymbolizerSubprocess
158 internal_memset(&infd, 0, sizeof(infd));
    [all...]
  /src/usr.bin/mail/
popen.c 156 prepare_child(sigset_t *nset, int infd, int outfd)
165 if (infd > 0) {
166 (void)dup2(infd, 0);
167 } else if (infd != 0) {
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, ...)
231 r = start_commandv(cmd, nset, infd, outfd, args);
435 run_command(const char *cmd, sigset_t *nset, int infd, int outfd, ...)
470 pid = start_commandv(cmd, nset, infd, outfd, args)
    [all...]
  /src/usr.sbin/edquota/
edquota.c 837 readprivs(struct quotalist *qlist, int infd, int dflag)
862 (void)lseek(infd, (off_t)0, SEEK_SET);
863 fd = fdopen(dup(infd), "r");
  /src/usr.bin/ftp/
ftp.c 601 * Read data from infd & write to outfd, using buf/bufsize as the temporary
610 copy_bytes(int infd, int outfd, char *buf, size_t bufsize,
635 inc = read(infd, buf, MIN((off_t)bufsize, bufrem));

Completed in 19 milliseconds