Hi,
I want to Programatically (c,c++) retrieve the Platform name on a
Sparc 7 machine.
uname -a returns:
SunOS mymachine 5.7 Generic_106541-18 sun4u sparc SUNW,Ultra-5_10
I want the "SUNW,Ultra-5_10" bit.
Unfortunatly the
struct utsname {
char sysname[_SYS_NMLN];
char nodename[_SYS_NMLN];
char release[_SYS_NMLN];
char version[_SYS_NMLN];
char machine[_SYS_NMLN];
in utsname.hQuote:};
does not give the platform name is there some other api\structure that
can give it to me.
Thanks,
Enda