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!

Était-ce utile?

La solution

You can query the LONG_BIT configuration variables with getconf:

$ getconf LONG_BIT
64
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top