summaryrefslogtreecommitdiffstats
path: root/public/sdk/inc/posix/sys/utsname.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--public/sdk/inc/posix/sys/utsname.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/public/sdk/inc/posix/sys/utsname.h b/public/sdk/inc/posix/sys/utsname.h
new file mode 100644
index 000000000..5a7d8835b
--- /dev/null
+++ b/public/sdk/inc/posix/sys/utsname.h
@@ -0,0 +1,37 @@
+/*++
+
+Copyright (c) 1989-1996 Microsoft Corporation
+
+Module Name:
+
+ utsname.h
+
+Abstract:
+
+ This module contains the utsname structure described in section 4.4.1.2
+ of IEEE P1003.1/Draft 13.
+
+--*/
+
+#ifndef _UTSNAME_
+#define _UTSNAME_
+
+#include <limits.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct utsname {
+ char sysname[_POSIX_NAME_MAX];
+ char nodename[_POSIX_NAME_MAX];
+ char release[_POSIX_NAME_MAX];
+ char version[_POSIX_NAME_MAX];
+ char machine[_POSIX_NAME_MAX];
+};
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _UTSNAME_ */