xref: /titanic_51/usr/src/lib/libcmd/common/features/symlink (revision da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968)
1*da2e3ebdSchinlib	lchmod note{ lchmod implemented }end execute{
2*da2e3ebdSchin	#include <unistd.h>
3*da2e3ebdSchin	#include <errno.h>
4*da2e3ebdSchin	int
5*da2e3ebdSchin	main()
6*da2e3ebdSchin	{
7*da2e3ebdSchin		lchmod("No-FiLe", 0);
8*da2e3ebdSchin		return errno != ENOENT;
9*da2e3ebdSchin	}
10*da2e3ebdSchin}end
11*da2e3ebdSchin
12*da2e3ebdSchinlib	lchown note{ lchown implemented }end execute{
13*da2e3ebdSchin	#include <unistd.h>
14*da2e3ebdSchin	#include <errno.h>
15*da2e3ebdSchin	int
16*da2e3ebdSchin	main()
17*da2e3ebdSchin	{
18*da2e3ebdSchin		lchown("No-FiLe", 0, 0);
19*da2e3ebdSchin		return errno != ENOENT;
20*da2e3ebdSchin	}
21*da2e3ebdSchin}end
22