Home
last modified time | relevance | path

Searched refs:fcntl (Results 1 – 7 of 7) sorted by relevance

/io/
A Dtst-fcntl.c84 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()
A Dfcntl.c35 stub_warning (fcntl)
37 weak_alias (__fcntl, fcntl)
A Dtst-closefrom.c49 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()
A Dtst-close_range.c68 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()
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()
242 TEST_VERIFY (fcntl (i, F_GETFL) > -1); in close_range_cloexec_test()
252 int flags = fcntl (i, F_GETFD); in close_range_cloexec_test()
[all …]
A Dfcntl.h177 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
A DMakefile26 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 \
95 tst-fcntl-time64 \
113 CFLAGS-fcntl.c += -fexceptions -fasynchronous-unwind-tables
A DVersions23 fchdir; fchmod; fchown; fcntl; flock; fstatfs; fts_children; fts_close;
132 fcntl;

Completed in 8 milliseconds