aboutsummaryrefslogtreecommitdiff
path: root/sys/src/infoat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/src/infoat.c')
-rw-r--r--sys/src/infoat.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/src/infoat.c b/sys/src/infoat.c
new file mode 100644
index 0000000..ccbaf18
--- /dev/null
+++ b/sys/src/infoat.c
@@ -0,0 +1,8 @@
+#include "internal.h"
+
+int
+sys·infoat(int dirfd, char *path, int flag, uint mask, sys·Info *file)
+{
+ long ret = syscall(·StatX, dirfd, path, flag, mask, file);
+ return error(ret);
+}