0001
0002 #ifndef _UAPI_LINUX_UTSNAME_H
0003 #define _UAPI_LINUX_UTSNAME_H
0004
0005 #define __OLD_UTS_LEN 8
0006
0007 struct oldold_utsname {
0008 char sysname[9];
0009 char nodename[9];
0010 char release[9];
0011 char version[9];
0012 char machine[9];
0013 };
0014
0015 #define __NEW_UTS_LEN 64
0016
0017 struct old_utsname {
0018 char sysname[65];
0019 char nodename[65];
0020 char release[65];
0021 char version[65];
0022 char machine[65];
0023 };
0024
0025 struct new_utsname {
0026 char sysname[__NEW_UTS_LEN + 1];
0027 char nodename[__NEW_UTS_LEN + 1];
0028 char release[__NEW_UTS_LEN + 1];
0029 char version[__NEW_UTS_LEN + 1];
0030 char machine[__NEW_UTS_LEN + 1];
0031 char domainname[__NEW_UTS_LEN + 1];
0032 };
0033
0034
0035 #endif