diff options
Diffstat (limited to 'src/lib/libcmd/features/symlink')
-rw-r--r-- | src/lib/libcmd/features/symlink | 23 |
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 |