diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-22 01:45:18 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-22 01:45:18 -0500 |
commit | 02561fa14b2c6a97e3975187a5664cc44bdea8ce (patch) | |
tree | 6832b4e61f9cd4eefe95dd639f15493a46facbfd /src | |
parent | 1316aae0c862240ff58b1cf38c92cd8cefd02a91 (diff) | |
download | musl-02561fa14b2c6a97e3975187a5664cc44bdea8ce.tar.gz musl-02561fa14b2c6a97e3975187a5664cc44bdea8ce.tar.bz2 musl-02561fa14b2c6a97e3975187a5664cc44bdea8ce.tar.xz musl-02561fa14b2c6a97e3975187a5664cc44bdea8ce.zip |
Add legacy ustat(2) syscall support for GCC Goustat
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); +} |