From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13476 invoked by alias); 12 Sep 2014 17:05:08 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19071 Received: (qmail 13588 invoked from network); 12 Sep 2014 17:04:53 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 MIME-Version: 1.0 Message-ID: From: "Dominik Vogt" To: zsh-users@zsh.org Subject: Re: Determining the length of "long"? Content-Type: text/plain; charset=UTF-8 Date: Fri, 12 Sep 2014 19:04:44 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <20140912161724.GY4075@isis.sigpipe.cz> References: <20140911213608.GA1029@gmx.de>, <20140912161724.GY4075@isis.sigpipe.cz> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K0:FQ6bT09UZu4OWjqF4HQ/4hjvvuxD1rhsqrJ25idJG8Z sa9cWg++g6+8OFmqoAsKxYswsjcFAFPkKHHan+4jM4ht7PLLv3 qYS51mFVn3bsh63oCIL0XYGdx4xIgng1boi0QoUdVIhaDIObMM 0mDK0CLMn7MoaMnNRHkyImlrZUmFkuiCAy5PMuQRSzKE7ZjVV8 b6sNVR9irC0AdCgH+K4WG6L2NT/Ji22+F4fOHacskDpbveUajo lCcjeUiZE7bp/lPpcxfvyEVedasWqAdOk23VhlfJRBypLHr9+/ TPMkrw= X-UI-Out-Filterresults: notjunk:1; > 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