xref: /plan9/sys/include/ape/sys/utsname.h (revision 3e12c5d1bb89fc02707907988834ef147769ddaf)
1 #ifndef __UTSNAME
2 #define __UTSNAME
3 #pragma lib "/$M/lib/ape/libap.a"
4 
5 struct utsname {
6 	char	*sysname;
7 	char	*nodename;
8 	char	*release;
9 	char	*version;
10 	char	*machine;
11 };
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 int uname(struct utsname *);
18 
19 #ifdef __cplusplus
20 }
21 #endif
22 
23 #endif
24