سؤال

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!

هل كانت مفيدة؟

المحلول

You can query the LONG_BIT configuration variables with getconf:

$ getconf LONG_BIT
64
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top