Searched refs:stdin (Results 1 - 25 of 107) sorted by relevance

12345

/osnet-11/usr/src/lib/libc/port/stdio/
H A Dgets.c44 /* read a single line from stdin, replace the '\n' with '\0' */
54 FLOCKFILE(lk, stdin);
56 _SET_ORIENTATION_BYTE(stdin);
58 if (!(stdin->_flag & (_IOREAD | _IORW))) {
64 if (stdin->_base == NULL) {
65 if ((bufend = _findbuf(stdin)) == 0) {
71 bufend = _bufend(stdin);
75 if (stdin->_cnt <= 0) /* empty buffer */
77 if (__filbuf(stdin) != EOF) {
78 stdin
[all...]
H A Dgetchar.c51 FILE *iop = stdin;
63 FILE *iop = stdin;
H A Dvscanf.c73 FLOCKFILE(lk, stdin);
75 _SET_ORIENTATION_BYTE(stdin);
78 ret = __doscan_u(stdin, fmt, ap, _F_INTMAX32);
80 ret = __doscan_u(stdin, fmt, ap, 0);
H A Dvwscanf.c55 FLOCKFILE(lk, stdin);
57 if (_set_orientation_wide(stdin, NULL, NULL, 0) == -1) {
64 ret = __wdoscan_u(stdin, fmt, ap, _F_INTMAX32);
66 ret = __wdoscan_u(stdin, fmt, ap, 0);
/osnet-11/usr/src/lib/libc/port/i18n/
H A Dgetwchar.c51 return (_getwc(stdin));
57 return (__getwc_xpg5(stdin));
/osnet-11/usr/src/tools/onbld/Checks/
H A DProcessCheck.py56 stdin=subprocess.PIPE, stdout=tmpfile,
63 p.stdin.write(line)
65 p.stdin.close()
/osnet-11/usr/src/cmd/ldap/common/
H A Dldaptest.c60 getaline( buf, sizeof(buf), stdin, prompt );
159 getaline( buf, sizeof(buf), stdin, prompt1 );
166 getaline( buf, sizeof(buf), stdin, prompt2 );
227 getaline( dn, sizeof(dn), stdin,
238 getaline( dn, sizeof(dn), stdin, "re-bind dn? " );
243 getaline( passwd, sizeof(passwd), stdin,
392 while ( getaline( line, sizeof(line), stdin, "\ncommand? " ) != NULL ) {
401 getaline( dn, sizeof(dn), stdin, "dn? " );
422 getaline( line, sizeof(line), stdin, "msgid? " );
436 getaline( line, sizeof(line), stdin,
[all...]
H A Didtest.c40 if ( std_setup( psin, stdin ) == NOTOK ) {
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/IO/t/
H A Dio_poll.t84 my $stdin = \*STDIN;
85 $poll->mask($stdin => POLLIN);
86 $poll->remove($stdin);
H A Dio_pipe.t71 $stdin = bless \*STDIN, "IO::Handle";
72 $stdin->fdopen($pipe,"r");
/osnet-11/usr/src/lib/libsqlite/tool/
H A Dmkopts.tcl12 while {![eof stdin]} {
13 set line [gets stdin]
/osnet-11/usr/src/lib/libadm/common/
H A Dgetinput.c46 if (!fgets(input, MAX_INPUT, stdin))
/osnet-11/usr/src/lib/efcode/engine/
H A Dsignal.c60 ioctl(fileno(stdin), TCSETA, &saved_termio);
65 ioctl(fileno(stdin), TCSETA, &saved_termio);
78 ioctl(fileno(stdin), TCGETA, &saved_termio);
/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-menulst2cfg.c56 in = stdin;
63 if (in != stdin)
121 if (in != stdin)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/t/
H A Dprompt.t50 my $stdin = tie *STDIN, 'TieIn' or die;
51 $stdin->write("From STDIN");
/osnet-11/usr/src/lib/libcurses/screen/
H A Dinitscr.c53 * scp = newscreen(getenv("TERM"), 0, 0, 0, stdout, stdin);
79 if (newscreen(NULL, 0, 0, 0, stdout, stdin) == NULL) {
/osnet-11/usr/src/cmd/hal/tools/sunos/
H A Dhal-system-lcd-set-brightness-sunos.c55 if (fgets(arg, sizeof (arg), stdin)) {
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dreadline.t25 = runperl (stdin => '', stderr => 1,
35 = runperl (stdin => ' rules', stderr => 1,
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/run/
H A Dswitches.t19 # to emulate echo -n (ie. stdin always winds up with a newline), these
31 stdin => 'foo\0bar\0baz\0',
38 stdin => 'foo\0bar\0baz\0',
45 stdin => 'foo\0bar\0baz\0',
52 stdin => 'fooxbarxbazx',
59 stdin => 'abc\ndef\n\nghi\njkl\nmno\n\npq\n',
66 stdin => 'abc\ndef\n\nghi\njkl\nmno\n\npq\n',
H A DswitchC.t38 stdin => $b );
/osnet-11/usr/src/lib/libmp/common/
H A Dmout.c67 (void) ungetc(c, stdin);
175 return (m_in(a, 10, stdin));
181 return (m_in(a, 8, stdin));
/osnet-11/usr/src/cmd/sendmail/aux/
H A Dmailcompat.c134 while (fgets(line, sizeof line, stdin) != NULL)
155 if (fgets(line, sizeof line, stdin) == NULL ||
328 fgets(line, sizeof (line), stdin);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/
H A Dtest.pl347 # stdin => string to feed the stdin
406 if (defined $args{stdin}) {
409 $args{stdin} =~ s/\n/\\n/g;
410 $args{stdin} =~ s/\r/\\r/g;
414 $args{stdin} . q{)" | } . $runperl;
420 my $stdin = qq{$^X -e 'print qq(} . $args{stdin} . qq{)' > teststdin; };
422 my $stdindisplay = $stdin;
426 `$stdin`;
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/io/
H A Dargv.t29 stdin => "foo\n",
36 stdin => "foo\n",
/osnet-11/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dinitscr.c60 * Initialize XCurses for use with a single terminal. stdin and stdout
78 sp = newterm((char *) 0, stdout, stdin);

Completed in 86 milliseconds

12345