• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 __ASM_GENERIC_POSIX_TYPES_H
8 #define __ASM_GENERIC_POSIX_TYPES_H
9 #include <asm/bitsperlong.h>
10 #ifndef __kernel_long_t
11 typedef long __kernel_long_t;
12 typedef unsigned long __kernel_ulong_t;
13 #endif
14 #ifndef __kernel_ino_t
15 typedef __kernel_ulong_t __kernel_ino_t;
16 #endif
17 #ifndef __kernel_mode_t
18 typedef unsigned int __kernel_mode_t;
19 #endif
20 #ifndef __kernel_pid_t
21 typedef int __kernel_pid_t;
22 #endif
23 #ifndef __kernel_ipc_pid_t
24 typedef int __kernel_ipc_pid_t;
25 #endif
26 #ifndef __kernel_uid_t
27 typedef unsigned int __kernel_uid_t;
28 typedef unsigned int __kernel_gid_t;
29 #endif
30 #ifndef __kernel_suseconds_t
31 typedef __kernel_long_t __kernel_suseconds_t;
32 #endif
33 #ifndef __kernel_daddr_t
34 typedef int __kernel_daddr_t;
35 #endif
36 #ifndef __kernel_uid32_t
37 typedef unsigned int __kernel_uid32_t;
38 typedef unsigned int __kernel_gid32_t;
39 #endif
40 #ifndef __kernel_old_uid_t
41 typedef __kernel_uid_t __kernel_old_uid_t;
42 typedef __kernel_gid_t __kernel_old_gid_t;
43 #endif
44 #ifndef __kernel_old_dev_t
45 typedef unsigned int __kernel_old_dev_t;
46 #endif
47 #ifndef __kernel_size_t
48 #if __BITS_PER_LONG != 64
49 typedef unsigned int __kernel_size_t;
50 typedef int __kernel_ssize_t;
51 typedef int __kernel_ptrdiff_t;
52 #else
53 typedef __kernel_ulong_t __kernel_size_t;
54 typedef __kernel_long_t __kernel_ssize_t;
55 typedef __kernel_long_t __kernel_ptrdiff_t;
56 #endif
57 #endif
58 #ifndef __kernel_fsid_t
59 typedef struct {
60   int val[2];
61 } __kernel_fsid_t;
62 #endif
63 typedef __kernel_long_t __kernel_off_t;
64 typedef long long __kernel_loff_t;
65 typedef __kernel_long_t __kernel_old_time_t;
66 typedef __kernel_long_t __kernel_time_t;
67 typedef long long __kernel_time64_t;
68 typedef __kernel_long_t __kernel_clock_t;
69 typedef int __kernel_timer_t;
70 typedef int __kernel_clockid_t;
71 typedef char * __kernel_caddr_t;
72 typedef unsigned short __kernel_uid16_t;
73 typedef unsigned short __kernel_gid16_t;
74 #endif
75