1 /* Copyright (C) 1991, 92, 94, 95, 96 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
4 The GNU C Library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public License as
6 published by the Free Software Foundation; either version 2 of the
7 License, or (at your option) any later version.
9 The GNU C Library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
14 You should have received a copy of the GNU Library General Public
15 License along with the GNU C Library; see the file COPYING.LIB. If
16 not, write to the Free Software Foundation, Inc., 675 Mass Ave,
17 Cambridge, MA 02139, USA. */
20 #define _GNU_TYPES_H 1
22 /* Get actual type definitions for architecture from kernel headers.
23 This #define tells <linux/types.h> not to define `dev_t' et al itself. */
24 #define __KERNEL_STRICT_NAMES
25 #define _LINUX_TYPES_DONT_EXPORT
26 #include <linux/types.h>
28 /* Convenience types. */
29 typedef unsigned char __u_char
;
30 typedef unsigned short __u_short
;
31 typedef unsigned int __u_int
;
32 typedef unsigned long __u_long
;
34 typedef unsigned long long int __u_quad_t
;
35 typedef long long int __quad_t
;
36 typedef __quad_t
*__qaddr_t
;
48 typedef __kernel_dev_t __dev_t
; /* Type of device numbers. */
49 typedef __kernel_uid_t __uid_t
; /* Type of user identifications. */
50 typedef __kernel_gid_t __gid_t
; /* Type of group identifications. */
51 typedef __kernel_ino_t __ino_t
; /* Type of file serial numbers. */
52 typedef __kernel_mode_t __mode_t
; /* Type of file attribute bitmasks. */
53 typedef __kernel_nlink_t __nlink_t
; /* Type of file link counts. */
54 typedef __kernel_off_t __off_t
; /* Type of file sizes and offsets. */
55 typedef __kernel_pid_t __pid_t
; /* Type of process identifications. */
56 typedef __kernel_ssize_t __ssize_t
; /* Type of a byte count, or error. */
57 typedef __kernel_fsid_t __fsid_t
; /* Type of file system IDs. */
59 /* Everythin' else. */
60 typedef __kernel_daddr_t __daddr_t
; /* The type of a disk address. */
61 typedef __kernel_caddr_t __caddr_t
;
62 typedef __kernel_time_t __time_t
;
63 typedef long int __swblk_t
; /* Type of a swap block maybe? */
65 /* fd_set for select. */
66 typedef __kernel_fd_set __fd_set
;
67 typedef __kernel_clock_t __clock_t
;
69 #endif /* gnu/types.h */