1 /* 2 * This file is auto-generated. Modifications will be lost. 3 * 4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ 5 * for more information. 6 */ 7 #ifndef _UAPI_LINUX_UTSNAME_H 8 #define _UAPI_LINUX_UTSNAME_H 9 #define __OLD_UTS_LEN 8 10 struct oldold_utsname { 11 char sysname[9]; 12 char nodename[9]; 13 char release[9]; 14 char version[9]; 15 char machine[9]; 16 }; 17 #define __NEW_UTS_LEN 64 18 struct old_utsname { 19 char sysname[65]; 20 char nodename[65]; 21 char release[65]; 22 char version[65]; 23 char machine[65]; 24 }; 25 struct new_utsname { 26 char sysname[__NEW_UTS_LEN + 1]; 27 char nodename[__NEW_UTS_LEN + 1]; 28 char release[__NEW_UTS_LEN + 1]; 29 char version[__NEW_UTS_LEN + 1]; 30 char machine[__NEW_UTS_LEN + 1]; 31 char domainname[__NEW_UTS_LEN + 1]; 32 }; 33 #endif 34