4c36960ff89a70a10189ed54eed7ce067aa83a2d
[musl] / include / sys / utsname.h
1 #ifndef _SYS_UTSNAME_H
2 #define _SYS_UTSNAME_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 struct utsname
9 {
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
22 int uname (struct utsname *);
23
24 #ifdef __cplusplus
25 }
26 #endif
27
28 #endif