• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /****************************************************************************
2  ****************************************************************************
3  ***
4  ***   This header was automatically generated from a Linux kernel header
5  ***   of the same name, to make information necessary for userspace to
6  ***   call into the kernel available to libc.  It contains only constants,
7  ***   structures, and macros generated from the original header, and thus,
8  ***   contains no copyrightable information.
9  ***
10  ***   To edit the content of this header, modify the corresponding
11  ***   source file (e.g. under external/kernel-headers/original/) then
12  ***   run bionic/libc/kernel/tools/update_all.py
13  ***
14  ***   Any manual change here will be lost the next time this script will
15  ***   be run. You've been warned!
16  ***
17  ****************************************************************************
18  ****************************************************************************/
19 #ifndef _UAPI_LINUX_UTSNAME_H
20 #define _UAPI_LINUX_UTSNAME_H
21 #define __OLD_UTS_LEN 8
22 struct oldold_utsname {
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24  char sysname[9];
25  char nodename[9];
26  char release[9];
27  char version[9];
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29  char machine[9];
30 };
31 #define __NEW_UTS_LEN 64
32 struct old_utsname {
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34  char sysname[65];
35  char nodename[65];
36  char release[65];
37  char version[65];
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39  char machine[65];
40 };
41 struct new_utsname {
42  char sysname[__NEW_UTS_LEN + 1];
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44  char nodename[__NEW_UTS_LEN + 1];
45  char release[__NEW_UTS_LEN + 1];
46  char version[__NEW_UTS_LEN + 1];
47  char machine[__NEW_UTS_LEN + 1];
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49  char domainname[__NEW_UTS_LEN + 1];
50 };
51 #endif
52