1#pragma once
2
3#ifdef __cplusplus
4extern "C" {
5#endif
6
7#include <features.h>
8
9struct utsname {
10    char sysname[65];
11    char nodename[65];
12    char release[65];
13    char version[65];
14    char machine[65];
15#ifdef _GNU_SOURCE
16    char domainname[65];
17#else
18    char __domainname[65];
19#endif
20};
21
22int uname(struct utsname*);
23
24#ifdef __cplusplus
25}
26#endif
27