Home
last modified time | relevance | path

Searched refs:stdin (Results 1 – 19 of 19) sorted by relevance

/libio/
A Diogets.c37 _IO_acquire_lock (stdin); in _IO_gets()
38 ch = _IO_getc_unlocked (stdin); in _IO_gets()
51 int old_error = stdin->_flags & _IO_ERR_SEEN; in _IO_gets()
52 stdin->_flags &= ~_IO_ERR_SEEN; in _IO_gets()
54 count = _IO_getline (stdin, buf + 1, INT_MAX, '\n', 0) + 1; in _IO_gets()
55 if (stdin->_flags & _IO_ERR_SEEN) in _IO_gets()
61 stdin->_flags |= old_error; in _IO_gets()
66 _IO_release_lock (stdin); in _IO_gets()
A Dgetchar.c36 if (!_IO_need_lock (stdin)) in getchar()
37 return _IO_getc_unlocked (stdin); in getchar()
38 _IO_acquire_lock (stdin); in getchar()
39 result = _IO_getc_unlocked (stdin); in getchar()
40 _IO_release_lock (stdin); in getchar()
A Dgetwchar.c36 _IO_acquire_lock (stdin); in getwchar()
37 result = _IO_getwc_unlocked (stdin); in getwchar()
38 _IO_release_lock (stdin); in getwchar()
A Dtst-bz24153.c56 FILE *old_stdin = stdin; in narrow()
57 stdin = xfopen (path, "r"); in narrow()
74 fclose (stdin); in narrow()
75 stdin = old_stdin; in narrow()
81 FILE *old_stdin = stdin; in wide()
82 stdin = xfopen (path, "r"); in wide()
92 fclose (stdin); in wide()
93 stdin = old_stdin; in wide()
A Dtst-fgetwc.c15 if (setvbuf (stdin, NULL, _IONBF, 0) != 0) in do_test()
24 while ((c = fgetwc (stdin)) != WEOF) in do_test()
27 if (ferror (stdin)) in do_test()
A Dstdio.c30 #undef stdin
33 FILE *stdin = (FILE *) &_IO_2_1_stdin_; variable
A Doldstdfiles.c58 #undef stdin
62 extern FILE *stdin;
78 stdin = (FILE *) &_IO_stdin_; in _IO_check_libio()
82 stdin->_vtable_offset = stdout->_vtable_offset in _IO_check_libio()
A Dtst_getwc.c30 while (! feof (stdin) && n < sizeof (buf) - 1) in main()
32 buf[n] = getwc (stdin); in main()
A Dgetchar_u.c35 return _IO_getc_unlocked (stdin); in getchar_unlocked()
A Dgetwchar_u.c35 return _IO_getwc_unlocked (stdin); in getwchar_unlocked()
A Dvwscanf.c38 return __vfwscanf_internal (stdin, format, args, 0); in __vwscanf()
A Dvscanf.c40 return __vfscanf_internal (stdin, format, args, 0); in _IO_vscanf()
A Dwscanf.c38 done = __vfwscanf_internal (stdin, format, arg, 0); in __wscanf()
A Dtst-freopen.c126 FILE *f = freopen (name, "r", stdin); in do_test_bz21398()
133 char *ret = fgets (buf, sizeof (buf), stdin); in do_test_bz21398()
A Dstdio.h143 extern FILE *stdin; /* Standard input stream. */
147 #define stdin stdin macro
A Dtst-widetext.c54 mbsize = fread (mbbuf, 1, SIZE, stdin); in do_test()
A DVersions44 stderr; stdin; stdout;
A Dtst-vtables-common.c339 .f._vtable_offset = stdin->_vtable_offset, in my_file_create()
/libio/bits/
A Dstdio.h49 return getc (stdin); in getchar()
75 return __getc_unlocked_body (stdin); in getchar_unlocked()

Completed in 26 milliseconds