summaryrefslogtreecommitdiff
path: root/lib/mlibc/options/posix/include/sys/utsname.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mlibc/options/posix/include/sys/utsname.h')
-rw-r--r--lib/mlibc/options/posix/include/sys/utsname.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/mlibc/options/posix/include/sys/utsname.h b/lib/mlibc/options/posix/include/sys/utsname.h
new file mode 100644
index 0000000..bd7b174
--- /dev/null
+++ b/lib/mlibc/options/posix/include/sys/utsname.h
@@ -0,0 +1,22 @@
+
+#ifndef _SYS_UTSNAME_H
+#define _SYS_UTSNAME_H
+
+#include <abi-bits/utsname.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifndef __MLIBC_ABI_ONLY
+
+int uname(struct utsname *);
+
+#endif /* !__MLIBC_ABI_ONLY */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // _SYS_UTSNAME_H
+