am 032a7135: Merge "libc: add missing O_CLOEXEC from <fcntl.h>" into gingerbread

Merge commit '032a713549c12b79b5dde6ef3dff323b7698110d' into gingerbread-plus-aosp

* commit '032a713549c12b79b5dde6ef3dff323b7698110d':
  libc: add missing O_CLOEXEC from <fcntl.h>
This commit is contained in:
David 'Digit' Turner 2010-09-28 00:13:49 -07:00 committed by Android Git Automerger
commit 5d335a1c65

View File

@ -39,6 +39,10 @@ __BEGIN_DECLS
#define O_ASYNC FASYNC #define O_ASYNC FASYNC
#endif #endif
#ifndef O_CLOEXEC
#define O_CLOEXEC 02000000
#endif
extern int open(const char* path, int mode, ...); extern int open(const char* path, int mode, ...);
extern int openat(int fd, 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); extern int unlinkat(int dirfd, const char *pathname, int flags);