xref: /titanic_41/usr/src/lib/libast/common/features/vfork (revision b02e9a2d4d2071d770e5aa9ae8f83f2bbe1f2ced)
1set	prototyped
2hdr	vfork
3sys	vfork
4
5tst	run{
6	if	test "$_hdr_vfork" = 1
7	then	echo "#include <vfork.h>"
8	elif	test "$_sys_vfork" = 1
9	then	echo "#include <sys/vfork.h>"
10	else	echo '#include <unistd.h>' > $tmp.c
11		$cc -E $tmp.c | grep vfork
12	fi
13}end
14