16 lines
307 B
C
16 lines
307 B
C
#pragma once
|
|
|
|
#define _UTSNAME_LENGTH 256
|
|
|
|
struct utsname {
|
|
char sysname[_UTSNAME_LENGTH];
|
|
char nodename[_UTSNAME_LENGTH];
|
|
char release[_UTSNAME_LENGTH];
|
|
char version[_UTSNAME_LENGTH];
|
|
char machine[_UTSNAME_LENGTH];
|
|
char domainname[_UTSNAME_LENGTH];
|
|
};
|
|
|
|
|
|
extern int uname(struct utsname *__name);
|