diff options
author | Elliott Hughes <enh@google.com> | 2013-10-17 11:45:22 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-10-17 11:45:22 -0700 |
commit | e989399dc2b17013c9a7f12f1e4765d383e6e771 (patch) | |
tree | 8398993c8ac37c806273ffa3fcbccf9f40bf5f67 /libc/include/fcntl.h | |
parent | 967cd1bcaf5e75314b3cff2ea7bbd0eb18ab7438 (diff) | |
download | bionic-e989399dc2b17013c9a7f12f1e4765d383e6e771.zip bionic-e989399dc2b17013c9a7f12f1e4765d383e6e771.tar.gz bionic-e989399dc2b17013c9a7f12f1e4765d383e6e771.tar.bz2 |
O_CLOEXEC is always defined for arm, mips, x86, and x86_64.
I built all four, just to be sure.
Change-Id: I5c818575c8142fccfc8fb163468832807a535e90
Diffstat (limited to 'libc/include/fcntl.h')
-rw-r--r-- | libc/include/fcntl.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libc/include/fcntl.h b/libc/include/fcntl.h index 3cb3d8a..f41cbcc 100644 --- a/libc/include/fcntl.h +++ b/libc/include/fcntl.h @@ -25,6 +25,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ + #ifndef _FCNTL_H #define _FCNTL_H @@ -39,10 +40,6 @@ __BEGIN_DECLS #define O_ASYNC FASYNC #endif -#ifndef O_CLOEXEC -#define O_CLOEXEC 02000000 -#endif - extern int open(const char* path, int mode, ...); extern int openat(int fd, const char* path, int mode, ...); extern int unlinkat(int dirfd, const char *pathname, int flags); |