/original-bsd/old/vfilters/vplotf/ |
H A D | vplotf.c | 184 botx = getinteger(stdin); in getpict() 185 boty = getinteger(stdin); in getpict() 201 x1 = getc(stdin); in getpict() 271 getinteger(stdin); in getpict() 272 getc(stdin); in getpict() 273 switch (getc(stdin)) { in getpict() 297 getinteger(stdin); in getpict() 298 getinteger(stdin); in getpict() 299 getinteger(stdin); in getpict() 300 x1 = getinteger(stdin); in getpict() [all …]
|
/original-bsd/old/lib2648/ |
H A D | ttyinit.c | 31 ioctl(fileno(stdin), TIOCGETP, &_ttyb); in ttyinit() 32 ioctl(fileno(stdin), TIOCGETC, &_otch); in ttyinit() 38 ioctl(fileno(stdin), TIOCSETN, &_ttyb); in ttyinit() 39 ioctl(fileno(stdin), TIOCSETC, &_ntch); in ttyinit() 64 ioctl(fileno(stdin), TIOCSETN, &_ttyb); in done() 65 ioctl(fileno(stdin), TIOCSETC, &_otch); in done()
|
H A D | printg.c | 34 ungetc(c2, stdin); in printg() 36 ungetc(c, stdin); in printg()
|
/original-bsd/games/hack/ |
H A D | hack.ioctl.c | 19 (void) ioctl(fileno(stdin), (int) TIOCGLTC, (char *) <chars); in getioctls() 20 (void) ioctl(fileno(stdin), (int) TIOCSLTC, (char *) <chars0); in getioctls() 22 (void) ioctl(fileno(stdin), (int) TCGETA, &termio); in getioctls() 28 (void) ioctl(fileno(stdin), (int) TIOCSLTC, (char *) <chars); in setioctls() 30 (void) ioctl(fileno(stdin), (int) TCSETA, &termio); in setioctls()
|
/original-bsd/usr.bin/mail/ |
H A D | tty.c | 76 if (ioctl(fileno(stdin), TIOCEXT, &flag) < 0) 87 ttyset++, tcsetattr(fileno(stdin), &ttybuf); 95 ttyset++, tcsetattr(fileno(stdin), &ttybuf); 102 ttyset++, tcsetattr(fileno(stdin), &ttybuf); 110 ttyset++, tcsetattr(fileno(stdin), &ttybuf); 123 tcsetattr(fileno(stdin), &ttybuf); 129 if (ioctl(fileno(stdin), TIOCEXT, &flag) < 0) 189 clearerr(stdin); 191 c = getc(stdin); 200 if (c == EOF && ferror(stdin)) { [all …]
|
/original-bsd/local/ditroff/ditroff.old.okeeffe/gremlin.aed/gremlin/ |
H A D | textio.c | 93 setbuf(stdin, NULL); 112 (void) gtty(fileno(stdin), &sttybuf); 114 (void) ioctl(fileno(stdin), TIOCGETC, (char *) &tchars); 199 (void) ioctl(fileno(stdin), TIOCSETN, (char *) &sttybuf); in TxRedisplay() 235 (void) ioctl(fileno(stdin), TIOCSETN, (char *) &sttybuf); in TxRedisplay() 238 (void) ioctl(fileno(stdin), TIOCSETC, (char *) &tchars); in TxRedisplay() 258 (void) ioctl(fileno(stdin), TIOCSETN, (char *) &sttybuf); in TxClose() 261 (void) ioctl(fileno(stdin), TIOCSETC, (char *) &tchars); in TxClose() 360 (void) ioctl(fileno(stdin), TIOCSETN, (char *) &sttybuf); 380 (void) ioctl(fileno(stdin), TIOCSETN, (char *) &sttybuf);
|
H A D | main.c | 227 (void) ioctl(fileno(stdin), TIOCLBIS, (char *) &lintrup); 357 i = 1 << fileno(stdin); 361 if (i & (1 << fileno(stdin))) 435 (void) ioctl(fileno(stdin), TIOCLBIC, (char *) &lintrup); in OnCommand() 446 (void) ioctl(fileno(stdin), FIONREAD, (char *) &charcount); in OnCommand() 450 (void) ioctl(fileno(stdin), TIOCLBIS, (char *) &lintrup); in OnCommand() 454 i = 1 << fileno(stdin); in OnCommand()
|
/original-bsd/bin/cat/ |
H A D | cat.c | 96 fp = stdin; 101 fp = stdin; 110 if (fp != stdin) 184 fd = fileno(stdin); 189 fd = fileno(stdin); 198 if (fd != fileno(stdin))
|
/original-bsd/old/refer/addbib/ |
H A D | addbib.c | 100 fgets(line, BUFSIZ, stdin); 110 if (fgets(line, BUFSIZ, stdin) == NULL) 112 clearerr(stdin); 137 fgets(line, BUFSIZ, stdin); 160 while (fgets(line, BUFSIZ, stdin)) 169 clearerr(stdin); 179 fgets(line, BUFSIZ, stdin);
|
/original-bsd/usr.bin/uuencode/ |
H A D | uuencode.c | 46 if (!freopen(*argv, "r", stdin) || fstat(fileno(stdin), &sb)) { 86 while (n = fread(buf, 1, 45, stdin)) { in encode() 111 if (ferror(stdin)) { in encode()
|
/original-bsd/games/trek/ |
H A D | getpar.c | 207 ungetc(c, stdin); in testnl() 210 ungetc(c, stdin); in testnl() 225 ungetc('\n', stdin); 243 ungetc(c, stdin); in testterm() 267 ungetc(c, stdin);
|
/original-bsd/libexec/getNAME/ |
H A D | getNAME.c | 82 if (freopen(pathname, "r", stdin) == 0) { 91 if (fgets(headbuf, sizeof headbuf, stdin) == NULL) { 114 if (fgets(linbuf, sizeof linbuf, stdin) == NULL) 130 if (fgets(headbuf, sizeof headbuf, stdin) == NULL) 152 if (fgets(linbuf, sizeof linbuf, stdin) == NULL) 166 if (fgets(headbuf, sizeof headbuf, stdin) == NULL)
|
/original-bsd/lib/libtelnet/ |
H A D | read_password.c | 80 while (!fgets(s, max, stdin)); 87 if (!fgets(key_string, sizeof(key_string), stdin)) { 88 clearerr(stdin);
|
/original-bsd/usr.bin/uudecode/ |
H A D | uudecode.c | 44 if (!freopen(filename = *argv, "r", stdin)) { 70 if (!fgets(buf, sizeof(buf), stdin)) { in decode() 113 if (!fgets(p = buf, sizeof(buf), stdin)) { in decode() 149 if (!fgets(buf, sizeof(buf), stdin) || strcmp(buf, "end\n")) { in decode()
|
/original-bsd/games/battlestar/ |
H A D | cypher.c | 257 fgets(buffer,10,stdin); in cypher() 261 fgets(buffer,10,stdin); in cypher() 265 fgets(buffer,10,stdin); in cypher() 269 fgets(buffer,10,stdin); in cypher() 273 fgets(buffer,10,stdin); in cypher() 277 fgets(buffer,10,stdin); in cypher() 281 fgets(buffer,10,stdin); in cypher() 285 fgets(buffer,10,stdin); in cypher()
|
H A D | getcom.c | 23 if (fgets(buf, size, stdin) == 0) { 24 clearerr(stdin);
|
/original-bsd/usr.bin/tset/ |
H A D | term.c | 103 if (feof(stdin) || ferror(stdin)) { 114 if (fgets(answer, sizeof(answer), stdin) == NULL) {
|
/original-bsd/usr.bin/pascal/pdx/command/ |
H A D | remake.c | 34 if (call("pi", stdin, stdout, dotpfile, NIL) == 0) { in remake() 36 call("mv", stdin, stdout, "obj", objname, NIL); in remake()
|
/original-bsd/usr.bin/tail/ |
H A D | tail.c | 159 if (fstat(fileno(stdin), &sb)) { 168 if (lseek(fileno(stdin), (off_t)0, SEEK_CUR) == -1 && 175 reverse(stdin, style, off, &sb); 177 forward(stdin, style, off, &sb);
|
/original-bsd/libexec/bugfiler/ |
H A D | redist.c | 38 if (!freopen(bfr, "r", stdin)) in redist() 40 for (pf = NULL, group = 0; fgets(bfr, sizeof(bfr), stdin);) { in redist() 81 if (!fgets(bfr, sizeof(bfr), stdin)) in redist()
|
/original-bsd/usr.bin/pascal/pdx/tree/ |
H A D | misc.c | 60 call(ed, stdin, stdout, buff, filename, NIL); 63 call(ed, stdin, stdout, filename, NIL); 78 call("Mail", stdin, stdout, maintainer, NIL); in gripe()
|
/original-bsd/usr.bin/lock/ |
H A D | lock.c | 120 if (!fgets(s, sizeof(s), stdin) || *s == '\n') 127 (void)fgets(s1, sizeof(s1), stdin); 154 if (!fgets(s, sizeof(s), stdin)) { 155 clearerr(stdin);
|
/original-bsd/old/boggle/ |
H A D | boggle.c | 167 ioctl(fileno(stdin), TIOCLBIS, &lctlech); 168 stty(fileno(stdin), &origttyb); 176 stty(fileno(stdin), &tempttyb); in clearscreen() 207 stty(fileno(stdin), &tempttyb); in printinst() 236 stty(fileno(stdin), &tempttyb); in printinst() 239 stty(fileno(stdin), &tempttyb); in printinst() 568 gtty(fileno(stdin), &origttyb); 569 setbuf(stdin, NULL); 633 ioctl( fileno(stdin), TIOCLBIC, &lctlech ); 699 stty (fileno(stdin), &tempttyb); [all …]
|
/original-bsd/local/ditroff/ditroff.okeeffe/tbl/ |
H A D | main.c | 42 tabin = stdin; 102 if(tabin != stdin) in swapin() 105 tabin = stdin; in swapin()
|
/original-bsd/old/pcc/ccom.vax/VMS/ |
H A D | filter.c | 34 freopen(*++argv,"r",stdin); 166 ungetc(val, stdin); in oyylex() 187 ungetc(val,stdin); in oyylex() 206 ungetc(val, stdin); in oyylex() 212 ungetc(val, stdin); in oyylex() 240 ungetc(val, stdin); in oyylex()
|