ref: 82527a897297f87c627cd3c7a0f783a39bb0a2bd
parent: 3b8e22be8e01e95eddeeb9a1949b897df9b3f869
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Tue May 17 13:38:50 EDT 2022
libc: Add missed flags for dragonfly The commit b9d0dadf added macro flags for _access() but they were not added to dragonfly.
--- a/include/bits/dragonfly/sys.h
+++ b/include/bits/dragonfly/sys.h
@@ -11,6 +11,11 @@
#define CLOCKS_PER_SEC ((clock_t) 128)
#define RUSAGE_SELF 0
+#define F_OK 0
+#define X_OK 1
+#define R_OK 4
+#define W_OK 2
+
typedef int pid_t;
extern pid_t _getpid(void);