OSDN Git Service

libc/sysdeps: add __kernel_long and __kernel_ulong
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / ia64 / bits / kernel_types.h
1 /* Note that we use the exact same include guard #define names
2  * as asm/posix_types.h.  This will avoid gratuitous conflicts
3  * with the posix_types.h kernel header, and will ensure that
4  * our private content, and not the kernel header, will win.
5  *  -Erik
6  */
7 #ifndef _ASM_IA64_POSIX_TYPES_H
8 #define _ASM_IA64_POSIX_TYPES_H
9
10 /*
11  * This file is generally used by user-level software, so you need to
12  * be a little careful about namespace pollution etc.  Also, we cannot
13  * assume GCC is being used.
14  *
15  * Based on <asm-alpha/posix_types.h>.
16  *
17  * Modified 1998-2000, 2003
18  *      David Mosberger-Tang <davidm@hpl.hp.com>, Hewlett-Packard Co
19  */
20
21 typedef unsigned long   __kernel_ino_t;
22 typedef unsigned int    __kernel_mode_t;
23 typedef unsigned int    __kernel_nlink_t;
24 typedef long            __kernel_off_t;
25 typedef long long       __kernel_loff_t;
26 typedef int             __kernel_pid_t;
27 typedef int             __kernel_ipc_pid_t;
28 typedef unsigned int    __kernel_uid_t;
29 typedef unsigned int    __kernel_gid_t;
30 typedef unsigned long   __kernel_size_t;
31 typedef long            __kernel_ssize_t;
32 typedef long            __kernel_ptrdiff_t;
33 typedef long            __kernel_time_t;
34 typedef long            __kernel_suseconds_t;
35 typedef long            __kernel_clock_t;
36 typedef int             __kernel_timer_t;
37 typedef int             __kernel_clockid_t;
38 typedef int             __kernel_daddr_t;
39 typedef char *          __kernel_caddr_t;
40 typedef unsigned long   __kernel_sigset_t;      /* at least 32 bits */
41 typedef unsigned short  __kernel_uid16_t;
42 typedef unsigned short  __kernel_gid16_t;
43
44 typedef struct {
45         int     val[2];
46 } __kernel_fsid_t;
47
48 typedef __kernel_uid_t __kernel_old_uid_t;
49 typedef __kernel_gid_t __kernel_old_gid_t;
50 typedef __kernel_uid_t __kernel_uid32_t;
51 typedef __kernel_gid_t __kernel_gid32_t;
52
53 typedef unsigned int    __kernel_dev_t;
54 typedef unsigned int    __kernel_old_dev_t;
55 typedef long            __kernel_long_t;
56 typedef unsigned long   __kernel_ulong_t;
57
58 #endif /* _ASM_IA64_POSIX_TYPES_H */