diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/legacy/ustat.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/legacy/ustat.c b/src/legacy/ustat.c new file mode 100644 index 00000000..1774a466 --- /dev/null +++ b/src/legacy/ustat.c @@ -0,0 +1,8 @@ +#include <sys/types.h> +#include "syscall.h" + +int ustat(dev_t dev, void *ubuf) +{ + int ret = __syscall(SYS_ustat, dev, ubuf); + return __syscall_ret(ret); +} |