chiark / gitweb /
[PATCH] sync with latest version of klibc (0.107)
[elogind.git] / klibc / klibc / include / unistd.h
index 3d5c6881d359fb3e0627c8a42ba3d259d67abb34..f1cde2376e2faf377c093da0a5413b0a3e8eb70e 100644 (file)
@@ -49,6 +49,12 @@ __extern int setresgid(gid_t, gid_t, gid_t);
 __extern int getfsuid(uid_t);
 __extern int setfsuid(uid_t);
 
+/* Macros for access() */
+#define R_OK   4               /* Read */
+#define W_OK   2               /* Write */
+#define X_OK   1               /* Execute */
+#define F_OK   0               /* Existence */
+
 __extern int access(const char *, int);
 __extern int link(const char *, const char *);
 __extern int unlink(const char *);