Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2011 22:15:17 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/lib/libc/sys getgroups.2
Message-ID:  <201101212215.p0LMFYGW038605@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

jilles      2011-01-21 22:15:17 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/sys         getgroups.2 
  Log:
  SVN rev 217704 on 2011-01-21 22:15:17Z by jilles
  
  getgroups(2): Remove mention of <sys/param.h> and refer to sysconf(3).
  
  Because {NGROUPS_MAX} may become variable, its value should be obtained
  using sysconf(3). If a #define is used anyway, it should be obtained by
  including <limits.h> as that is in POSIX like getgroups(2) itself is.
  <sys/param.h> is not in POSIX.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.16      +9 -3      src/lib/libc/sys/getgroups.2



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