Home
last modified time | relevance | path

Searched refs:fileno (Results 1 – 25 of 95) sorted by relevance

1234

/glibc-2.36/manual/examples/
Dmygetpass.c28 if (tcgetattr (fileno (stream), &old) != 0) in my_getpass()
32 if (tcsetattr (fileno (stream), TCSAFLUSH, &new) != 0) in my_getpass()
39 (void) tcsetattr (fileno (stream), TCSAFLUSH, &old); in my_getpass()
/glibc-2.36/misc/
Dgetpass.c80 if (__tcgetattr (fileno (in), &t) == 0) in getpass()
86 tty_changed = (tcsetattr (fileno (in), TCSAFLUSH|TCSASOFT, &t) == 0); in getpass()
113 (void) tcsetattr (fileno (in), TCSAFLUSH|TCSASOFT, &s); in getpass()
Dgetusershell.c109 if (__fstat64_time64(fileno(fp), &statb) == -1) { in initshells()
/glibc-2.36/debug/
Dtst-fortify.c1106 lseek (fileno (stdin), 0, SEEK_SET); in do_test()
1108 if (read (fileno (stdin), buf, buf_size - 1) != buf_size - 1 in do_test()
1111 if (read (fileno (stdin), buf, buf_size - 1) != buf_size - 1 in do_test()
1115 lseek (fileno (stdin), 0, SEEK_SET); in do_test()
1117 if (read (fileno (stdin), buf, l0 + buf_size - 1) != buf_size - 1 in do_test()
1123 if (read (fileno (stdin), buf, buf_size + 1) != buf_size + 1) in do_test()
1128 if (read (fileno (stdin), buf, l0 + buf_size + 1) != buf_size + 1) in do_test()
1133 if (pread (fileno (stdin), buf, buf_size - 1, buf_size - 2) in do_test()
1137 if (pread (fileno (stdin), buf, buf_size - 1, 0) != buf_size - 1 in do_test()
1140 if (pread (fileno (stdin), buf, l0 + buf_size - 1, buf_size - 3) in do_test()
[all …]
/glibc-2.36/nptl/
Dtst-cancel7.c69 if (fcntl (fileno (f), F_SETLK, &fl) != 0) in sl()
138 if (fcntl (fileno (f), F_GETLK, &fl) != 0) in do_test()
170 if (fcntl (fileno (f), F_GETLK, &fl) == 0 && fl.l_type != F_UNLCK in do_cleanup()
/glibc-2.36/libio/
Dfileno.c44 weak_alias (__fileno, fileno)
45 libc_hidden_weak (fileno)
Dtst-popen1.c17 int fd = fileno (fp); in do_test()
35 int fd = fileno (fp); in do_test()
/glibc-2.36/sysdeps/ieee754/ldbl-128ibm-compat/
Dtest-printf-ldbl-compat.c49 vdprintf (fileno (stream), format, args); in do_test_call_varg()
98 dprintf (fileno (stream), format, ld, d); in do_test_call_rarg()
Dtest-printf-chk-ldbl-compat.c54 __vdprintf_chk (fileno (stream), 1, format, args); in do_test_call_varg()
107 __dprintf_chk (fileno (stream), 1, format, ld, d); in do_test_call_rarg()
/glibc-2.36/elf/
Dreadlib.c99 if (fstat (fileno (file), &statbuf) < 0) in process_file()
125 fileno (file), 0); in process_file()
/glibc-2.36/posix/
Dtst-getopt-cancel.c51 ftruncate (fileno (stderr_trapped), 0); in check_stderr()
256 int old_stderr = dup (fileno (stderr)); in do_test()
Dbug-getopt1.c15 if (ftruncate (fileno (stderr), 0) != 0) in one_test()
Dbug-getopt2.c13 if (ftruncate (fileno (stderr), 0) != 0) in one_test()
Dbug-getopt5.c23 if (ftruncate (fileno (stderr), 0) != 0) in one_test()
Dbug-getopt3.c24 if (ftruncate (fileno (stderr), 0) != 0) in one_test()
Dbug-getopt4.c22 if (ftruncate (fileno (stderr), 0) != 0) in one_test()
Dtst-mmap.c28 fd = fileno (fp); in do_test()
/glibc-2.36/sysdeps/mach/hurd/
Dgetcwd.c191 ino64_t fileno; in __hurd_canonicalize_directory_name_internal() local
194 err = __io_identity (try, &id, &devid, &fileno); in __hurd_canonicalize_directory_name_internal()
/glibc-2.36/stdio-common/
Dtst-fileno.c25 int sfd = fileno (stream); in check()
Dtst-fseek.c420 else if (fstat64 (fileno (fp), &st1) < 0) in do_test()
447 else if (fstat64 (fileno (fp), &st1) < 0) in do_test()
Dtst-popen2.c8 int fd = dup (fileno (stdout)); in do_test()
/glibc-2.36/include/
Dstdio.h222 libc_hidden_proto (fileno)
223 extern __typeof (fileno) __fileno;
/glibc-2.36/sysdeps/unix/sysv/linux/
Dupdate-syscall-lists.py68 os.lockf(lockfile.fileno(), os.F_LOCK, 0)
/glibc-2.36/iconv/
Diconv_prog.c621 return process_fd (cd, fileno (input), output, output_file); in process_file()
765 bool human_readable = isatty (fileno (stdout)); in print_known_names()
/glibc-2.36/inet/
Druserpass.c177 __fstat64_time64(fileno(cfile), &stb) >= 0 && in ruserpass()

1234