summaryrefslogtreecommitdiff
path: root/src/lib/libcmd/features/utsname
blob: 725486718169d22908b5cee568a5cb8474fcfc75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
lib	getdomainname,gethostid,gethostname,sethostname,syscall,systeminfo,uname
lib	syssgi
mem	utsname.base_rel,utsname.idnumber,utsname.m_type,utsname.nodeext sys/utsname.h
sys	syscall,systeminfo,syssgi

tst	cross{
	u=`/bin/uname -o 2>/dev/null`
	case $u in
	UWIN-*)	u=UWIN ;;
	esac
	case $u in
	'')	;;
	*)	echo "#define _UNAME_os_DEFAULT     \"$u\"  /* default os name */" ;;
	esac
}end