[ksh93-integration-discuss] getconf SSIZE_MAX
Roland Mainz
roland.mainz at nrubsig.org
Wed Apr 18 19:33:01 PDT 2007
Glenn Fowler wrote:
>
> there is an inconsistency in the implementation of
> getconf SSIZE_MAX
> vs other symbols like
> getconf SIZE_MAX
> getconf INT_MAX
> getconf UINT_MAX
>
> the inconsistency is that
> getconf SIZE_MAX
> returns the actual largest value for size_t, whereas
> getconf SSIZE_MAX
> returns the _POSIX_SSIZE_MAX minmax value, as does
> getconf _POSIX_SSIZE_MAX
>
> this shows that getconf is capable of distinguishing between
> actual and minmax values:
> getconf AIO_LISTIO_MAX => 4096
> getconf _POSIX_AIO_LISTIO_MAX => 2 (the minmax value)
>
> man did not reveal a special case for SSIZE_MAX
>
> for consistency "getconf SSIZE_MAX" should return the
> largest value for ssize_t
>
> any solaris rationale why it doesn't?
CC:'ing Don Cragun&&April for help...
Don/April: Is it possible that this is a bug in Solaris /usr/bin/getconf
?
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)
More information about the ksh93-integration-discuss
mailing list