• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef	_SYS_UTSNAME_H
2 #define	_SYS_UTSNAME_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 #define _GNU_SOURCE
9 #include <sys/features.h>
10 
11 struct utsname {
12 	char sysname[65];
13 	char nodename[65];
14 	char release[65];
15 	char version[65];
16 	char machine[65];
17 #ifdef _GNU_SOURCE
18 	char domainname[65];
19 #else
20 	char __domainname[65];
21 #endif
22 };
23 
24 int uname (struct utsname *);
25 
26 #ifdef __cplusplus
27 }
28 #endif
29 
30 #endif
31