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:
commit
5d335a1c65
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user