• 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 __ASM_GENERIC_POSIX_TYPES_H
20 #define __ASM_GENERIC_POSIX_TYPES_H
21 #include <asm/bitsperlong.h>
22 #ifndef __kernel_long_t
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 typedef long __kernel_long_t;
25 typedef unsigned long __kernel_ulong_t;
26 #endif
27 #ifndef __kernel_ino_t
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 typedef __kernel_ulong_t __kernel_ino_t;
30 #endif
31 #ifndef __kernel_mode_t
32 typedef unsigned int __kernel_mode_t;
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 #endif
35 #ifndef __kernel_pid_t
36 typedef int __kernel_pid_t;
37 #endif
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 #ifndef __kernel_ipc_pid_t
40 typedef int __kernel_ipc_pid_t;
41 #endif
42 #ifndef __kernel_uid_t
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 typedef unsigned int __kernel_uid_t;
45 typedef unsigned int __kernel_gid_t;
46 #endif
47 #ifndef __kernel_suseconds_t
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 typedef __kernel_long_t __kernel_suseconds_t;
50 #endif
51 #ifndef __kernel_daddr_t
52 typedef int __kernel_daddr_t;
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 #endif
55 #ifndef __kernel_uid32_t
56 typedef unsigned int __kernel_uid32_t;
57 typedef unsigned int __kernel_gid32_t;
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 #endif
60 #ifndef __kernel_old_uid_t
61 typedef __kernel_uid_t __kernel_old_uid_t;
62 typedef __kernel_gid_t __kernel_old_gid_t;
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64 #endif
65 #ifndef __kernel_old_dev_t
66 typedef unsigned int __kernel_old_dev_t;
67 #endif
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69 #ifndef __kernel_size_t
70 #if __BITS_PER_LONG != 64
71 typedef unsigned int __kernel_size_t;
72 typedef int __kernel_ssize_t;
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74 typedef int __kernel_ptrdiff_t;
75 #else
76 typedef __kernel_ulong_t __kernel_size_t;
77 typedef __kernel_long_t __kernel_ssize_t;
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79 typedef __kernel_long_t __kernel_ptrdiff_t;
80 #endif
81 #endif
82 #ifndef __kernel_fsid_t
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84 typedef struct {
85   int val[2];
86 } __kernel_fsid_t;
87 #endif
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89 typedef __kernel_long_t __kernel_off_t;
90 typedef long long __kernel_loff_t;
91 typedef __kernel_long_t __kernel_time_t;
92 typedef __kernel_long_t __kernel_clock_t;
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94 typedef int __kernel_timer_t;
95 typedef int __kernel_clockid_t;
96 typedef char * __kernel_caddr_t;
97 typedef unsigned short __kernel_uid16_t;
98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99 typedef unsigned short __kernel_gid16_t;
100 #endif
101