diff options
Diffstat (limited to 'include/manconfig.h.in')
-rw-r--r-- | include/manconfig.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/manconfig.h.in b/include/manconfig.h.in index 64a0d992..5c3ad648 100644 --- a/include/manconfig.h.in +++ b/include/manconfig.h.in @@ -403,6 +403,9 @@ extern int quiet; /* be quiet(er) if 1 */ */ #define CTYPE(func,arg) (func((unsigned char)(arg))) +/* access(2), but with boolean semantics. */ +#define CAN_ACCESS(pathname, mode) (access (pathname, mode) == 0) + /* FSSTND directories */ #define CAT_ROOT "/var/catman" /* required by fsstnd() */ #define MAN_ROOT "/usr" /* required by fsstnd() */ |