xref: /titanic_52/usr/src/contrib/ast/src/lib/libcmd/features/utsname (revision 906afcb89d0412cc073b95c2d701a804a8cdb62c)
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	UWIN-*)	u=UWIN ;;
10	esac
11	case $u in
12	'')	;;
13	*)	echo "#define _UNAME_os_DEFAULT     \"$u\"  /* default os name */" ;;
14	esac
15}end
16