[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Why isn't STREAM_MAX == FOPEN_MAX?



karlheg@bittersweet.inetarena.com (Karl M. Hegbloom) writes:

>  STREAM_MAX is defined in
>  "xopen_lim.h" as _POSIX_STREAM_MAX, which in turn is defined in
>  "posix1_lim.h" as 8.

I agree that defining STREAM_MAX as _POSIX_STREAM_MAX is a bug, and
that you should file a bug with `glibcbug'.

The _POSIX_*_MAX defines are (somewhat confusingly) actually minimums
that a system has to provide in order to be POSIX compliant.  You are
always guaranteed that foo_MAX >= _POSIX_foo_MAX on a POSIX system.


Guy


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: