Searched refs:fcntl (Results 1 - 25 of 1281) sorted by relevance

1234567891011>>

/external/compiler-rt/SDKs/darwin/usr/include/
H A Dfcntl.h1 /* ===-- fcntl.h - stub SDK header for compiler-rt --------------------------===
17 #include <sys/fcntl.h>
/external/compiler-rt/SDKs/linux/usr/include/
H A Dfcntl.h1 /* ===-- fcntl.h - stub SDK header for compiler-rt --------------------------===
17 #include <sys/fcntl.h>
/external/kernel-headers/original/asm-x86/
H A Dfcntl.h1 #include <asm-generic/fcntl.h>
/external/bison/lib/
H A Ddup-safer.c24 #include <fcntl.h>
33 return fcntl (fd, F_DUPFD, STDERR_FILENO + 1);
H A Ddup-safer-flag.c26 #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 Dcloexec.c25 #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 Dpipe2.c23 #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/main/none/tests/
H A Dfdleak_fcntl.c3 #include <fcntl.h>
13 DO( fcntl(s1, F_DUPFD, s1) );
H A Dfdleak_open.c1 #include <fcntl.h>
H A Dfcntl_setown.c1 #include <fcntl.h>
17 if (fcntl(s, F_SETOWN, getpid()) < 0)
19 perror("fcntl(F_SETOWN)");
H A Dfdleak_creat.c3 #include <fcntl.h>
H A Dfdleak_dup.c2 #include <fcntl.h>
/external/kernel-headers/original/asm-arm/
H A Dfcntl.h9 #include <asm-generic/fcntl.h>
/external/chromium_org/third_party/libusb/src/libusb/os/
H A Dpoll_posix.c22 #include <fcntl.h>
34 ret = fcntl(pipefd[1], F_GETFL);
39 ret = fcntl(pipefd[1], F_SETFL, ret | O_NONBLOCK);
/external/giflib/
H A Dconfig.h9 #include <fcntl.h>
/external/chromium_org/tools/gyp/pylib/gyp/
H A Dsun_tool.py9 import fcntl namespace
41 # where fcntl.flock(fd, LOCK_EX) always fails
45 op = struct.pack('hhllhhl', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
46 fcntl.fcntl(fd, fcntl.F_SETLK, op)
/external/ppp/pppd/plugins/radius/
H A Dlock.c14 #include <fcntl.h>
27 res = fcntl(fd, F_SETLK, &fl);
45 return fcntl(fd, F_SETLK, &fl);
/external/e2fsprogs/lib/ext2fs/
H A Dinline.c20 #include <fcntl.h>
/external/kernel-headers/original/linux/
H A Dtimerfd.h12 #include <linux/fcntl.h>
15 * CAREFUL: Check include/asm-generic/fcntl.h when defining
/external/qemu/elff/
H A Delff-common.h31 #include <fcntl.h>
/external/chromium_org/tools/android/forwarder2/
H A Dpipe_notifier.cc7 #include <fcntl.h>
24 fcntl(sender_fd_, F_SETFL, O_NONBLOCK);
/external/clang/test/Sema/
H A Dwarn-type-safety.c125 static const int F_DUPFD_tag __attribute__(( type_tag_for_datatype(fcntl,int) )) = F_DUPFD;
126 static const int F_SETLK_tag __attribute__(( type_tag_for_datatype(fcntl,struct flock *) )) = F_SETLK;
128 int fcntl(int fd, int cmd, ...) __attribute__(( argument_with_type_tag(fcntl,3,2) ));
132 fcntl(0, F_DUPFD, 10); // no-warning
133 fcntl(0, F_SETLK, f); // no-warning
135 fcntl(0, F_SETLK, 10); // expected-warning {{argument type 'int' doesn't match specified 'fcntl' type tag that requires 'struct flock *'}}
136 fcntl(0, F_DUPFD, f); // expected-warning {{argument type 'struct flock *' doesn't match specified 'fcntl' typ
[all...]
/external/chromium/base/test/
H A Dtest_file_util_linux.cc7 #include <fcntl.h>
/external/chromium_org/base/
H A Dos_compat_android.h8 #include <fcntl.h>
/external/chromium_org/base/test/
H A Dtest_file_util_linux.cc7 #include <fcntl.h>

Completed in 519 milliseconds

1234567891011>>