svn commit: r209542 - head/lib/libc/sys

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Jun 26 21:44:05 UTC 2010


Author: pjd
Date: Sat Jun 26 21:44:05 2010
New Revision: 209542
URL: http://svn.freebsd.org/changeset/base/209542

Log:
  Just like in case of setgroups(2), for getgroups(2) also advice including
  sys/param.h instead of sys/types.h so we get NGROUPS_MAX and NGROUPS
  definitions.

Modified:
  head/lib/libc/sys/getgroups.2

Modified: head/lib/libc/sys/getgroups.2
==============================================================================
--- head/lib/libc/sys/getgroups.2	Sat Jun 26 20:59:10 2010	(r209541)
+++ head/lib/libc/sys/getgroups.2	Sat Jun 26 21:44:05 2010	(r209542)
@@ -37,7 +37,7 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.In sys/types.h
+.In sys/param.h
 .In unistd.h
 .Ft int
 .Fn getgroups "int gidsetlen" "gid_t *gidset"


More information about the svn-src-head mailing list