Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 2010 21:44:05 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r209542 - head/lib/libc/sys
Message-ID:  <201006262144.o5QLi5tF076622@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006262144.o5QLi5tF076622>