xref: /titanic_50/usr/src/lib/libcmd/common/features/utsname (revision 95dd938966e7f45c67d0003e88ead5f5f2ddaecb)
1lib	getdomainname,gethostid,gethostname,sethostname,syscall,systeminfo,uname
2lib	syssgi
3mem	utsname.base_rel,utsname.idnumber,utsname.m_type,utsname.nodeext sys/utsname.h
4sys	syscall,systeminfo,syssgi
5
6tst	cross{
7	u=`/bin/uname -o 2>/dev/null`
8	case $u in
9	'')	;;
10	*)	echo "#define _UNAME_os_DEFAULT     \"$u\"  /* default os name */" ;;
11	esac
12}end
13