Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Determining the length of "long"?



> see getconf(1)[0] and unistd.h(0P)[1], specifically
> _POSIX_V6_ILP32_OFF32 and its brethren.
> 
> [0]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/getconf.html
> [1]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/unistd.h.html

Ah great, that pointed exactly to what I need.

  $ getconf LONG_BIT

is exactly what I need (ignoring the byte order problem for now).

Thanks a lot

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt



Messages sorted by: Reverse Date, Date, Thread, Author