Question

I used a command similar to "length(LONG)" at the UNIX to find out the length of a long (8 on 64 bit, 4 on 32 bit ). What was that command!

Was it helpful?

Solution

You can query the LONG_BIT configuration variables with getconf:

$ getconf LONG_BIT
64
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top