24 lines
276 B
C
24 lines
276 B
C
#ifndef _SYS_UTSNAME_H
|
|
#define _SYS_UTSNAME_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct utsname
|
|
{
|
|
char sysname[20];
|
|
char nodename[20];
|
|
char release[20];
|
|
char version[20];
|
|
char machine[20];
|
|
};
|
|
|
|
int uname (struct utsname *);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|