Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6


posix_types.h
01: #ifndef __ASM_GENERIC_POSIX_TYPES_H
02: #define __ASM_GENERIC_POSIX_TYPES_H
03: 
04: #include <asm/bitsperlong.h>
05: /*
06:  * This file is generally used by user-level software, so you need to
07:  * be a little careful about namespace pollution etc.
08:  *
09:  * First the types that are often defined in different ways across
10:  * architectures, so that you can override them.
11:  */
12: 
13: #ifndef __kernel_ino_t
14: typedef unsigned long   __kernel_ino_t;
15: #endif
16: 
17: #ifndef __kernel_mode_t
18: typedef unsigned int    __kernel_mode_t;
19: #endif
20: 
21: #ifndef __kernel_nlink_t
22: typedef unsigned long   __kernel_nlink_t;
23: #endif
24: 
25: #ifndef __kernel_pid_t
26: typedef int             __kernel_pid_t;
27: #endif
28: 
29: #ifndef __kernel_ipc_pid_t
30: typedef int             __kernel_ipc_pid_t;
31: #endif
32: 
33: #ifndef __kernel_uid_t
34: typedef unsigned int    __kernel_uid_t;
35: typedef unsigned int    __kernel_gid_t;
36: #endif
37: 
38: #ifndef __kernel_suseconds_t
39: typedef long            __kernel_suseconds_t;
40: #endif
41: 
42: #ifndef __kernel_daddr_t
43: typedef int             __kernel_daddr_t;
44: #endif
45: 
46: #ifndef __kernel_uid32_t
47: typedef __kernel_uid_t  __kernel_uid32_t;
48: typedef __kernel_gid_t  __kernel_gid32_t;
49: #endif
50: 
51: #ifndef __kernel_old_uid_t
52: typedef __kernel_uid_t  __kernel_old_uid_t;
53: typedef __kernel_gid_t  __kernel_old_gid_t;
54: #endif
55: 
56: #ifndef __kernel_old_dev_t
57: typedef unsigned int    __kernel_old_dev_t;
58: #endif
59: 
60: /*
61:  * Most 32 bit architectures use "unsigned int" size_t,
62:  * and all 64 bit architectures use "unsigned long" size_t.
63:  */
64: #ifndef __kernel_size_t
65: #if __BITS_PER_LONG != 64
66: typedef unsigned int    __kernel_size_t;
67: typedef int             __kernel_ssize_t;
68: typedef int             __kernel_ptrdiff_t;
69: #else
70: typedef unsigned long   __kernel_size_t;
71: typedef long            __kernel_ssize_t;
72: typedef long            __kernel_ptrdiff_t;
73: #endif
74: #endif
75: 
76: /*
77:  * anything below here should be completely generic
78:  */
79: typedef long            __kernel_off_t;
80: typedef long long       __kernel_loff_t;
81: typedef long            __kernel_time_t;
82: typedef long            __kernel_clock_t;
83: typedef int             __kernel_timer_t;
84: typedef int             __kernel_clockid_t;
85: typedef char *          __kernel_caddr_t;
86: typedef unsigned short  __kernel_uid16_t;
87: typedef unsigned short  __kernel_gid16_t;
88: 
89: typedef struct {
90:         int     val[2];
91: } __kernel_fsid_t;
92: 
93: 
94: #endif /* __ASM_GENERIC_POSIX_TYPES_H */
95: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/