2 * sysdeps/linux/sh64/bits/kernel_types.h
4 * Copyright (C) 2000, 2001 Paolo Alberelli
5 * Copyright (C) 2003 Paul Mundt
7 * This file is subject to the terms and conditions of the GNU Lesser
8 * General Public License. See the file COPYING.LIB in the main
9 * directory of this archive for more details.
13 * Note that we use the exact same include guard #define names
14 * as asm/posix_types.h. This will avoid gratuitous conflicts
15 * with the posix_types.h kernel header, and will ensure that
16 * our private content, and not the kernel header, will win.
19 #ifndef __ASM_SH64_POSIX_TYPES_H
20 #define __ASM_SH64_POSIX_TYPES_H
22 typedef unsigned short __kernel_dev_t;
23 typedef unsigned long __kernel_ino_t;
24 typedef unsigned short __kernel_mode_t;
25 typedef unsigned short __kernel_nlink_t;
26 typedef long __kernel_off_t;
27 typedef int __kernel_pid_t;
28 typedef unsigned short __kernel_ipc_pid_t;
29 typedef unsigned short __kernel_uid_t;
30 typedef unsigned short __kernel_gid_t;
31 typedef long unsigned int __kernel_size_t;
32 typedef int __kernel_ssize_t;
33 typedef int __kernel_ptrdiff_t;
34 typedef long __kernel_time_t;
35 typedef long __kernel_suseconds_t;
36 typedef long __kernel_clock_t;
37 typedef int __kernel_daddr_t;
38 typedef char * __kernel_caddr_t;
39 typedef unsigned short __kernel_uid16_t;
40 typedef unsigned short __kernel_gid16_t;
41 typedef unsigned int __kernel_uid32_t;
42 typedef unsigned int __kernel_gid32_t;
43 typedef unsigned short __kernel_old_uid_t;
44 typedef unsigned short __kernel_old_gid_t;
45 typedef __kernel_dev_t __kernel_old_dev_t;
46 typedef long long __kernel_loff_t;
56 #endif /* __ASM_SH64_POSIX_TYPES_H */