standards/104743: Wrong values for _POSIX_ minimal limits

Thomas Quinot thomas at FreeBSD.org
Tue Oct 24 08:57:58 PDT 2006


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.

> -#define	_POSIX_AIO_LISTIO_MAX	16
> +#define	_POSIX_AIO_LISTIO_MAX	2

This one is still unclear to me as IEEE Std 1003.1-2001 still lists
the value 2.



More information about the freebsd-standards mailing list