The sysinfo() system call subcodes in the Oracle Solaris 10 and later versions enable applications to ascertain more information about the available instruction set architectures.
For example, the name of the 64-bit ABI available on the system (if any), is available by using the SI_ARCHITECTURE_64 subcode. For more information, see the sysinfo(2) man page.