summaryrefslogtreecommitdiff
path: root/src/sys/stat/lstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/stat/lstat.c')
-rw-r--r--src/sys/stat/lstat.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sys/stat/lstat.c b/src/sys/stat/lstat.c
new file mode 100644
index 00000000..ea56ce24
--- /dev/null
+++ b/src/sys/stat/lstat.c
@@ -0,0 +1,12 @@
+#include <sys/stat.h>
+
+int lstat(const char * restrict path, struct stat * restrict buf)
+{
+ /* if path is a symlink, return that info */
+ return 0;
+}
+
+/*
+XOPEN(400)
+POSIX(200112)
+*/