/glibc-2.36/io/ |
D | tst-close_range.c | 68 TEST_COMPARE (fcntl (i, F_GETFL), -1); in close_range_test_common() 72 TEST_VERIFY (fcntl (i, F_GETFL) > -1); in close_range_test_common() 85 TEST_COMPARE (fcntl (i, F_GETFL), -1); in close_range_test_common() 89 TEST_VERIFY (fcntl (i, F_GETFL) > -1); in close_range_test_common() 95 TEST_COMPARE (fcntl (i, F_GETFL), -1); in close_range_test_common() 98 TEST_VERIFY (fcntl (maximum_fd, F_GETFL) > -1); in close_range_test_common() 102 TEST_COMPARE (fcntl (maximum_fd, F_GETFL), -1); in close_range_test_common() 154 TEST_VERIFY (fcntl (i, F_GETFL) < 0); in close_range_test_subprocess() 196 TEST_VERIFY (fcntl (i, F_GETFL) > -1); in close_range_unshare_test() 237 int flags = fcntl (i, F_GETFD); in close_range_cloexec_test() [all …]
|
D | tst-fcntl.c | 84 val = fcntl (fd, F_GETFL); in do_test() 97 if (fcntl (fd, F_SETFL, O_RDONLY) == -1) in do_test() 103 val = fcntl (fd, F_GETFL); in do_test() 116 if (fcntl (fd, F_SETFL, O_APPEND) == -1) in do_test() 122 val = fcntl (fd, F_GETFL); in do_test() 134 val = fcntl (fd, F_GETFD); in do_test() 140 else if (fcntl (fd, F_SETFD, val | FD_CLOEXEC) == -1) in do_test() 147 val = fcntl (fd, F_GETFD); in do_test() 167 fd3 = fcntl (fd, F_DUPFD, fd2 + 1); in do_test() 181 val = fcntl (fd3, F_GETFD); in do_test()
|
D | tst-closefrom.c | 49 TEST_COMPARE (fcntl (i, F_GETFL), -1); in closefrom_test() 53 TEST_VERIFY (fcntl (i, F_GETFL) > -1); in closefrom_test() 65 TEST_COMPARE (fcntl (i, F_GETFL), -1); in closefrom_test() 69 TEST_VERIFY (fcntl (i, F_GETFL) > -1); in closefrom_test() 75 TEST_COMPARE (fcntl (i, F_GETFL), -1); in closefrom_test() 78 TEST_VERIFY (fcntl (lowfd, F_GETFL) > -1); in closefrom_test() 82 TEST_COMPARE (fcntl (lowfd, F_GETFL), -1); in closefrom_test() 127 TEST_COMPARE (fcntl (i, F_GETFL), -1); in closefrom_test_file_desc_limit()
|
D | Makefile | 26 sys/statvfs.h bits/statvfs.h fcntl.h sys/fcntl.h bits/fcntl.h \ 44 fcntl fcntl64 flock lockf lockf64 \ 65 tst-fcntl bug-ftw1 bug-ftw2 bug-ftw3 bug-ftw4 tst-statvfs \ 86 tst-fcntl-time64 \ 114 CFLAGS-fcntl.c += -fexceptions -fasynchronous-unwind-tables
|
D | fcntl.h | 177 extern int fcntl (int __fd, int __cmd, ...); 180 extern int __REDIRECT (fcntl, (int __fd, int __cmd, ...), fcntl64); 182 # define fcntl fcntl64 macro 190 extern int __REDIRECT_NTH (fcntl, (int __fd, int __request, ...), 197 # define fcntl __fcntl_time64 macro
|
D | fcntl.c | 35 stub_warning (fcntl) 37 weak_alias (__fcntl, fcntl)
|
D | Versions | 23 fchdir; fchmod; fchown; fcntl; flock; fstatfs; fts_children; fts_close; 132 fcntl;
|
/glibc-2.36/sysdeps/pthread/ |
D | tst-flock2.c | 43 if (TEMP_FAILURE_RETRY (fcntl (fd, F_SETLKW, &fl)) != 0) in tf() 116 if (TEMP_FAILURE_RETRY (fcntl (fd, F_SETLKW, &fl)) != 0) in do_test() 135 if (TEMP_FAILURE_RETRY (fcntl (fd, F_SETLK, &fl)) == 0) in do_test() 147 if (TEMP_FAILURE_RETRY (fcntl (fd, F_SETLKW, &fl)) != 0) in do_test() 191 if (TEMP_FAILURE_RETRY (fcntl (fd, F_SETLK, &fl)) == 0) in do_test() 224 if (TEMP_FAILURE_RETRY (fcntl (fd, F_SETLK, &fl)) == 0) in do_test() 248 if (TEMP_FAILURE_RETRY (fcntl (fd, F_SETLKW, &fl)) != 0) in do_test()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | tst-ofdlocks-compat.c | 28 compat_symbol_reference (libc, fcntl, fcntl, GLIBC_2_0); 64 int ret = fcntl (temp_fd, F_OFD_SETLKW, &lck64); in do_test() 84 TEST_VERIFY (fcntl (fd, F_OFD_GETLK, &lck) == 0); in do_test()
|
D | tst-memfd_create.c | 35 int flags = fcntl (fd, F_GETFD); in is_cloexec() 44 int flags = fcntl (fd, F_GET_SEALS); in get_seals() 105 TEST_VERIFY (fcntl (fd, F_ADD_SEALS, F_SEAL_WRITE) == 0); in do_test() 108 TEST_VERIFY (fcntl (fd, F_ADD_SEALS, F_SEAL_SEAL) == 0); in do_test()
|
D | fcntl64.c | 19 #define fcntl __no_decl_fcntl macro 22 #undef fcntl 65 weak_alias (__libc_fcntl64, fcntl)
|
D | fcntl.c | 116 compat_symbol (libc, __old_libc_fcntl64, fcntl, GLIBC_2_0); 117 versioned_symbol (libc, __libc_fcntl, fcntl, GLIBC_2_28); 119 weak_alias (__libc_fcntl, fcntl)
|
D | tst-pidfd.c | 158 int remote_fd_mode = fcntl (fd, F_GETFL); in do_test() 162 int remote_fd_flags = fcntl (fd, F_GETFD); in do_test()
|
/glibc-2.36/support/ |
D | tst-support-open-dev-null-range.c | 99 TEST_VERIFY (fcntl (lowfd + i, F_GETFL) > -1); in do_test() 112 TEST_VERIFY (fcntl (lowfd2 + i, F_GETFL) > -1); in do_test() 132 TEST_VERIFY (fcntl (lowfd3 + i, F_GETFL) > -1); in do_test() 149 TEST_VERIFY (fcntl (lowfd4 + i, F_GETFL) > -1); in do_test()
|
/glibc-2.36/nptl/ |
D | tst-cancel7.c | 69 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/manual/ |
D | llio.texi | 78 declared in the header file @file{fcntl.h}, while @code{close} is 81 @pindex fcntl.h 84 @standards{POSIX.1, fcntl.h} 170 @standards{Unix98, fcntl.h} 184 @standards{POSIX.1, fcntl.h} 208 @standards{Unix98, fcntl.h} 908 different header files: @file{fcntl.h} and @file{sys/file.h}. 1930 @c fcntl dup ok 1990 The descriptor supports the addition of seals using the @code{fcntl} 3003 @c After fcntl to check that the FD is open, it calls [all …]
|
/glibc-2.36/sysdeps/posix/ |
D | dup2.c | 41 if (fcntl (fd, F_GETFL) < 0) in __dup2() 53 return fcntl (fd, F_DUPFD, fd2); in __dup2()
|
/glibc-2.36/libio/ |
D | tst-popen1.c | 18 if (fcntl (fd, F_GETFD) == FD_CLOEXEC) in do_test() 36 if (fcntl (fd, F_GETFD) != FD_CLOEXEC) in do_test()
|
/glibc-2.36/ChangeLog.old/ |
D | ChangeLog.ports-linux-generic | 45 * sysdeps/unix/sysv/linux/generic/bits/fcntl.h: (__O_LARGEFILE) 47 <bits/fcntl-linux.h>. 51 * sysdeps/unix/sysv/linux/generic/bits/fcntl.h: Remove all 53 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>. 126 * sysdeps/unix/sysv/linux/generic/bits/fcntl.h: New file. 170 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: New file.
|
D | ChangeLog.ports-cris | 20 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h (F_DUPFD_CLOEXEC): Define. 24 * sysdeps/unix/sysv/linux/cris/bits/fcntl.h: Comment fix.
|
/glibc-2.36/manual/examples/ |
D | ofdlocks.c | 47 fcntl (fd, F_OFD_SETLKW, &lck); in thread_start() 56 fcntl (fd, F_OFD_SETLK, &lck); in thread_start()
|
/glibc-2.36/misc/ |
D | error.c | 104 # undef fcntl 139 # error Please port fcntl to your platform in is_open() 141 return 0 <= fcntl (fd, F_GETFL); in is_open()
|
/glibc-2.36/socket/ |
D | tst-accept4.c | 31 int status = fcntl (fd, F_GETFL); in is_nonblocking() 40 int status = fcntl (fd, F_GETFD); in is_cloexec()
|
/glibc-2.36/posix/ |
D | tst-exec.c | 152 flags = fcntl (temp_fd1, F_GETFD, 0); in do_test() 156 if (fcntl (temp_fd1, F_SETFD, flags) < 0) in do_test()
|
/glibc-2.36/sysdeps/unix/ |
D | syscalls.list | 20 fcntl - fcntl Ci:iiF __libc_fcntl __fcntl fcntl
|