diff options
Diffstat (limited to 'vms/config.vms')
-rw-r--r-- | vms/config.vms | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/vms/config.vms b/vms/config.vms index c60239618d..57a6ea5a9a 100644 --- a/vms/config.vms +++ b/vms/config.vms @@ -243,7 +243,13 @@ * available to get the list of process groups. If unavailable, multiple * groups are probably not supported. */ +/* HAS_SETGROUPS: + * This symbol, if defined, indicates that the setgroups() routine is + * available to set the list of process groups. If unavailable, multiple + * groups are probably not supported. + */ #undef HAS_GETGROUPS /**/ +#undef HAS_SETGROUPS /**/ /* HAS_UNAME: * This symbol, if defined, indicates that the C program may use the @@ -1734,14 +1740,14 @@ /* Groups_t: * This symbol holds the type used for the second argument to - * getgroups(). Usually, this is the same of gidtype, but + * [gs]etgroups(). Usually, this is the same of gidtype, but * sometimes it isn't. It can be int, ushort, uid_t, etc... * It may be necessary to include <sys/types.h> to get any * typedef'ed information. This is only required if you have - * getgroups(). + * getgroups() or setgroups. */ -#ifdef HAS_GETGROUPS -#define Groups_t unsigned int /* Type for 2nd arg to getgroups() */ /* config-skip */ +#if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) +#define Groups_t unsigned int /* config-skip */ #endif /* DB_Prefix_t: |