• 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   char sysname[9];
24   char nodename[9];
25   char release[9];
26   char version[9];
27   char machine[9];
28 };
29 #define __NEW_UTS_LEN 64
30 struct old_utsname {
31   char sysname[65];
32   char nodename[65];
33   char release[65];
34   char version[65];
35   char machine[65];
36 };
37 struct new_utsname {
38   char sysname[__NEW_UTS_LEN + 1];
39   char nodename[__NEW_UTS_LEN + 1];
40   char release[__NEW_UTS_LEN + 1];
41   char version[__NEW_UTS_LEN + 1];
42   char machine[__NEW_UTS_LEN + 1];
43   char domainname[__NEW_UTS_LEN + 1];
44 };
45 #endif
46