From 5bcc08d92ae9345d6863f555a3dd9ec960e0860f Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Thu, 18 Nov 2021 16:40:51 -0800 Subject: feat: filling out system layer's interface --- sys/src/infoat.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 sys/src/infoat.c (limited to 'sys/src/infoat.c') 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); +} -- cgit v1.2.1