X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Ffcntl.h;h=70d4cbb533966476b834d15040a77aa84f1d2c85;hp=cbaec5dae87559babdf1633a89ecf1f680b1a8a1;hb=0e10f740069c2d805d3199a8079b73e828c7d8d9;hpb=997ba92a0fa85919b1c46346db8fb31b4e579c5a diff --git a/include/fcntl.h b/include/fcntl.h index cbaec5da..70d4cbb5 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -37,7 +37,11 @@ int openat(int, const char *, int, ...); int posix_fadvise(int, off_t, off_t, int); int posix_fallocate(int, off_t, off_t); -#define O_ACCMODE 03 +#define O_SEARCH 010000000 +#define O_EXEC 010000000 +#define O_PATH 010000000 + +#define O_ACCMODE (03|O_SEARCH) #define O_RDONLY 00 #define O_WRONLY 01 #define O_RDWR 02