The following command will return 32/64 depending on the bittnes of the OS. You can take a look at the source to see how it's doing that.
getconf LONG_BIT
Statistics: Posted by mitu — Thu Oct 23, 2025 4:22 am