summaryrefslogtreecommitdiff
path: root/src/lib/libcmd/features/symlink
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcmd/features/symlink')
-rw-r--r--src/lib/libcmd/features/symlink23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/lib/libcmd/features/symlink b/src/lib/libcmd/features/symlink
new file mode 100644
index 0000000..789db0b
--- /dev/null
+++ b/src/lib/libcmd/features/symlink
@@ -0,0 +1,23 @@
+lib lchmod note{ lchmod implemented }end execute{
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <errno.h>
+ int
+ main()
+ {
+ lchmod("No-FiLe", 0);
+ return errno != ENOENT;
+ }
+}end
+
+lib lchown note{ lchown implemented }end execute{
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <errno.h>
+ int
+ main()
+ {
+ lchown("No-FiLe", 0, 0);
+ return errno != ENOENT;
+ }
+}end