src.hhvn.uk > rc > file > getgroups.h

Byron Rakitzis' rc(1) port, with a few modifications
Log | Files | Refs | README | LICENSE

getgroups.h (318B)


      1 #if HAVE_GETGROUPS
      2 #if HAVE_POSIX_GETGROUPS
      3 /* We love POSIX. */
      4 #else
      5 /* OK, so you've got getgroups, but you don't have the POSIX semantics
      6 of a zero first argument.  The conclusion is that you're on a reasonably
      7 pure BSD system, and we can include <sys/param.h> for NGROUPS. */
      8 #include <sys/param.h>
      9 #endif
     10 #endif