standards/104743: Wrong values for _POSIX_ minimal limits
Bruce Evans
bde at zeta.org.au
Tue Oct 24 22:09:31 PDT 2006
On Tue, 24 Oct 2006, Thomas Quinot wrote:
> On Tue, Oct 24, 2006 at 12:47:12PM +0200, Thomas Quinot wrote:
>
>> The FreeBSD version of standard C header file <limits.h> is not
>> conforming to the Single UNIX Specification version 2.
>
> ... but most of them actually *are* conformant with the later revision
> SUSv3 (POSIX 1003.1 TC1).
>
>> -#define _POSIX_CHILD_MAX 25
>> -#define _POSIX_NGROUPS_MAX 8
>> -#define _POSIX_OPEN_MAX 20
>> -#define _POSIX_PATH_MAX 256
>> -#define _POSIX_TZNAME_MAX 6
>
> These are actually correct with respect to the later specification.
_POSIX_NGROUPS_MAX = 8 is also correct with respect to some former
specifications (1996, 2001, but not 1990). Apparently, supplementary
groups are optional again.
Bruce
More information about the freebsd-standards
mailing list