Searched refs:fcntl (Results 1 - 25 of 1114) sorted by relevance
1234567891011>>
/external/kernel-headers/original/uapi/asm-x86/asm/ |
H A D | fcntl.h | 1 #include <asm-generic/fcntl.h>
|
/external/bison/lib/ |
H A D | dup-safer.c | 24 #include <fcntl.h> 33 return fcntl (fd, F_DUPFD, STDERR_FILENO + 1);
|
H A D | dup-safer-flag.c | 26 #include <fcntl.h> 31 fcntl(F_DUPFD_CLOEXEC) rather than fcntl(F_DUPFD). */ 36 return fcntl (fd, (flag & O_CLOEXEC) ? F_DUPFD_CLOEXEC : F_DUPFD,
|
H A D | cloexec.c | 25 #include <fcntl.h> 43 int flags = fcntl (desc, F_GETFD, 0); 50 || fcntl (desc, F_SETFD, newflags) != -1) 82 return fcntl (fd, F_DUPFD_CLOEXEC, 0);
|
H A D | pipe2.c | 23 #include <fcntl.h> 43 creating the pipe but later fail at changing fcntl, we want 115 On Unix platforms, O_NONBLOCK is defined by the system. Use fcntl(). */ 120 if ((fcntl_flags = fcntl (fd[1], F_GETFL, 0)) < 0 121 || fcntl (fd[1], F_SETFL, fcntl_flags | O_NONBLOCK) == -1 122 || (fcntl_flags = fcntl (fd[0], F_GETFL, 0)) < 0 123 || fcntl (fd[0], F_SETFL, fcntl_flags | O_NONBLOCK) == -1) 131 if ((fcntl_flags = fcntl (fd[1], F_GETFD, 0)) < 0 132 || fcntl (fd[1], F_SETFD, fcntl_flags | FD_CLOEXEC) == -1 133 || (fcntl_flags = fcntl (f [all...] |
/external/valgrind/none/tests/ |
H A D | fdleak_fcntl.c | 3 #include <fcntl.h> 13 (void) DO( fcntl(s1, F_DUPFD, s1) );
|
H A D | fdleak_open.c | 1 #include <fcntl.h>
|
H A D | fcntl_setown.c | 1 #include <fcntl.h> 17 if (fcntl(s, F_SETOWN, getpid()) < 0) 19 perror("fcntl(F_SETOWN)");
|
H A D | fdleak_creat.c | 3 #include <fcntl.h>
|
H A D | fdleak_dup.c | 2 #include <fcntl.h>
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
H A D | fcntl.h | 9 #include <asm-generic/fcntl.h>
|
/external/kernel-headers/original/uapi/asm-arm64/asm/ |
H A D | fcntl.h | 27 #include <asm-generic/fcntl.h>
|
/external/giflib/ |
H A D | config.h | 9 #include <fcntl.h>
|
/external/ppp/pppd/plugins/radius/ |
H A D | lock.c | 14 #include <fcntl.h> 27 res = fcntl(fd, F_SETLK, &fl); 45 return fcntl(fd, F_SETLK, &fl);
|
/external/nanopb-c/tests/common/ |
H A D | test_helpers.h | 8 #include <fcntl.h>
|
/external/clang/test/Sema/ |
H A D | warn-type-safety.c | 127 static const int F_DUPFD_tag __attribute__(( type_tag_for_datatype(fcntl,int) )) = F_DUPFD; 128 static const int F_SETLK_tag __attribute__(( type_tag_for_datatype(fcntl,struct flock *) )) = F_SETLK; 130 int fcntl(int fd, int cmd, ...) __attribute__(( argument_with_type_tag(fcntl,3,2) )); 134 fcntl(0, F_DUPFD, 10); // no-warning 135 fcntl(0, F_SETLK, f); // no-warning 137 fcntl(0, F_SETLK, 10); // expected-warning {{argument type 'int' doesn't match specified 'fcntl' type tag that requires 'struct flock *'}} 138 fcntl(0, F_DUPFD, f); // expected-warning {{argument type 'struct flock *' doesn't match specified 'fcntl' typ [all...] |
/external/libdrm/tests/ |
H A D | name_from_fd.c | 29 #include <fcntl.h>
|
/external/libselinux/src/ |
H A D | fsetfilecon.c | 2 #include <fcntl.h>
|
H A D | lsetfilecon.c | 2 #include <fcntl.h>
|
H A D | setfilecon.c | 2 #include <fcntl.h>
|
/external/strace/tests/ |
H A D | pipe.c | 6 #include <fcntl.h>
|
/external/valgrind/memcheck/tests/darwin/ |
H A D | mkfifo.c | 6 #include <fcntl.h>
|
/external/valgrind/memcheck/tests/ |
H A D | erringfds.c | 5 #include <fcntl.h>
|
H A D | fwrite.c | 1 #include <fcntl.h>
|
H A D | mmaptest.c | 3 #include <fcntl.h>
|
Completed in 453 milliseconds
1234567891011>>