Deleted Added
full compact
_types.h (130585) _types.h (130640)
1/*-
2 * Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/sys/_types.h 130585 2004-06-16 09:47:26Z phk $
26 * $FreeBSD: head/sys/sys/_types.h 130640 2004-06-17 17:16:53Z phk $
27 */
28
29#ifndef _SYS__TYPES_H_
30#define _SYS__TYPES_H_
31
32#include <sys/cdefs.h>
33#include <machine/_types.h>
34

--- 13 unchanged lines hidden (view full) ---

48typedef __uint16_t __nlink_t; /* link count */
49typedef __int64_t __off_t; /* file offset */
50typedef __int32_t __pid_t; /* process [group] */
51typedef __int64_t __rlim_t; /* resource limit (XXX not unsigned) */
52typedef __uint8_t __sa_family_t;
53typedef __uint32_t __socklen_t;
54typedef long __suseconds_t; /* microseconds (signed) */
55typedef __int32_t __timer_t; /* timer_gettime()... */
27 */
28
29#ifndef _SYS__TYPES_H_
30#define _SYS__TYPES_H_
31
32#include <sys/cdefs.h>
33#include <machine/_types.h>
34

--- 13 unchanged lines hidden (view full) ---

48typedef __uint16_t __nlink_t; /* link count */
49typedef __int64_t __off_t; /* file offset */
50typedef __int32_t __pid_t; /* process [group] */
51typedef __int64_t __rlim_t; /* resource limit (XXX not unsigned) */
52typedef __uint8_t __sa_family_t;
53typedef __uint32_t __socklen_t;
54typedef long __suseconds_t; /* microseconds (signed) */
55typedef __int32_t __timer_t; /* timer_gettime()... */
56typedef __uint32_t __udev_t; /* device number */
57typedef __uint32_t __uid_t;
58typedef unsigned int __useconds_t; /* microseconds (unsigned) */
59
60/*
61 * Unusual type definitions.
62 */
63/*
64 * rune_t is declared to be an ``int'' instead of the more natural

--- 10 unchanged lines hidden (view full) ---

75 * wchar_t, and should be able to hold all members of the largest
76 * character set plus one extra value (WEOF), and must be at least 16 bits.
77 */
78typedef int __ct_rune_t; /* arg type for ctype funcs */
79typedef __ct_rune_t __rune_t; /* rune_t (see above) */
80typedef __ct_rune_t __wchar_t; /* wchar_t (see above) */
81typedef __ct_rune_t __wint_t; /* wint_t (see above) */
82
56typedef __uint32_t __uid_t;
57typedef unsigned int __useconds_t; /* microseconds (unsigned) */
58
59/*
60 * Unusual type definitions.
61 */
62/*
63 * rune_t is declared to be an ``int'' instead of the more natural

--- 10 unchanged lines hidden (view full) ---

74 * wchar_t, and should be able to hold all members of the largest
75 * character set plus one extra value (WEOF), and must be at least 16 bits.
76 */
77typedef int __ct_rune_t; /* arg type for ctype funcs */
78typedef __ct_rune_t __rune_t; /* rune_t (see above) */
79typedef __ct_rune_t __wchar_t; /* wchar_t (see above) */
80typedef __ct_rune_t __wint_t; /* wint_t (see above) */
81
83#ifndef _KERNEL
84typedef __udev_t __dev_t; /* device number */
85#endif
82typedef __uint32_t __dev_t; /* device number */
86
87typedef __uint32_t __fixpt_t; /* fixed point number */
88
89/*
90 * mbstate_t is an opaque object to keep conversion state during multibyte
91 * stream conversions.
92 */
93typedef union {
94 char __mbstate8[128];
95 __int64_t _mbstateL; /* for alignment */
96} __mbstate_t;
97
98#endif /* !_SYS__TYPES_H_ */
83
84typedef __uint32_t __fixpt_t; /* fixed point number */
85
86/*
87 * mbstate_t is an opaque object to keep conversion state during multibyte
88 * stream conversions.
89 */
90typedef union {
91 char __mbstate8[128];
92 __int64_t _mbstateL; /* for alignment */
93} __mbstate_t;
94
95#endif /* !_SYS__TYPES_H_ */