1199767fToomas Soome/*-
2199767fToomas Soome * Copyright (c) 1982, 1986, 1991, 1993, 1994
3199767fToomas Soome *	The Regents of the University of California.  All rights reserved.
4199767fToomas Soome * (c) UNIX System Laboratories, Inc.
5199767fToomas Soome * All or some portions of this file are derived from material licensed
6199767fToomas Soome * to the University of California by American Telephone and Telegraph
7199767fToomas Soome * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8199767fToomas Soome * the permission of UNIX System Laboratories, Inc.
9199767fToomas Soome *
10199767fToomas Soome * Redistribution and use in source and binary forms, with or without
11199767fToomas Soome * modification, are permitted provided that the following conditions
12199767fToomas Soome * are met:
13199767fToomas Soome * 1. Redistributions of source code must retain the above copyright
14199767fToomas Soome *    notice, this list of conditions and the following disclaimer.
15199767fToomas Soome * 2. Redistributions in binary form must reproduce the above copyright
16199767fToomas Soome *    notice, this list of conditions and the following disclaimer in the
17199767fToomas Soome *    documentation and/or other materials provided with the distribution.
18199767fToomas Soome * 4. Neither the name of the University nor the names of its contributors
19199767fToomas Soome *    may be used to endorse or promote products derived from this software
20199767fToomas Soome *    without specific prior written permission.
21199767fToomas Soome *
22199767fToomas Soome * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23199767fToomas Soome * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24199767fToomas Soome * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25199767fToomas Soome * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26199767fToomas Soome * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27199767fToomas Soome * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28199767fToomas Soome * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29199767fToomas Soome * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30199767fToomas Soome * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31199767fToomas Soome * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32199767fToomas Soome * SUCH DAMAGE.
33199767fToomas Soome *
34199767fToomas Soome *	@(#)types.h	8.6 (Berkeley) 2/19/95
35199767fToomas Soome * $FreeBSD$
36199767fToomas Soome */
37199767fToomas Soome
38199767fToomas Soome#ifndef _SYS_TYPES_H_
39199767fToomas Soome#define	_SYS_TYPES_H_
40199767fToomas Soome
41199767fToomas Soome#include <sys/cdefs.h>
42199767fToomas Soome
43199767fToomas Soome/* Machine type dependent parameters. */
44199767fToomas Soome#include <machine/endian.h>
45199767fToomas Soome#include <sys/_types.h>
46199767fToomas Soome
47199767fToomas Soome#include <sys/_pthreadtypes.h>
48199767fToomas Soome
49199767fToomas Soome#if __BSD_VISIBLE
50199767fToomas Soometypedef	unsigned char	u_char;
51199767fToomas Soometypedef	unsigned short	u_short;
52199767fToomas Soometypedef	unsigned int	u_int;
53199767fToomas Soometypedef	unsigned long	u_long;
54199767fToomas Soome#ifndef _KERNEL
55199767fToomas Soometypedef	unsigned short	ushort;		/* Sys V compatibility */
56199767fToomas Soometypedef	unsigned int	uint;		/* Sys V compatibility */
57199767fToomas Soome#endif
58199767fToomas Soome#endif
59199767fToomas Soome
60199767fToomas Soome/*
614a04e8dToomas Soome * POSIX Extensions
624a04e8dToomas Soome */
63734b3a4Toomas Soometypedef	unsigned char	uchar_t;
64734b3a4Toomas Soometypedef	unsigned short	ushort_t;
654a04e8dToomas Soometypedef	unsigned int	uint_t;
66734b3a4Toomas Soometypedef	unsigned long	ulong_t;
674a04e8dToomas Soome
684a04e8dToomas Soome/*
69199767fToomas Soome * XXX POSIX sized integrals that should appear only in <sys/stdint.h>.
70199767fToomas Soome */
71199767fToomas Soome#include <sys/_stdint.h>
72199767fToomas Soome
73199767fToomas Soometypedef __uint8_t	u_int8_t;	/* unsigned integrals (deprecated) */
74199767fToomas Soometypedef __uint16_t	u_int16_t;
75199767fToomas Soometypedef __uint32_t	u_int32_t;
76199767fToomas Soometypedef __uint64_t	u_int64_t;
77199767fToomas Soome
78199767fToomas Soometypedef	__uint64_t	u_quad_t;	/* quads (deprecated) */
79199767fToomas Soometypedef	__int64_t	quad_t;
80199767fToomas Soometypedef	quad_t *	qaddr_t;
81199767fToomas Soome
82199767fToomas Soometypedef	char *		caddr_t;	/* core address */
83199767fToomas Soometypedef	const char *	c_caddr_t;	/* core address, pointer to const */
84199767fToomas Soome
85199767fToomas Soome#ifndef _BLKSIZE_T_DECLARED
86199767fToomas Soometypedef	__blksize_t	blksize_t;
87199767fToomas Soome#define	_BLKSIZE_T_DECLARED
88199767fToomas Soome#endif
89199767fToomas Soome
90199767fToomas Soometypedef	__cpuwhich_t	cpuwhich_t;
91199767fToomas Soometypedef	__cpulevel_t	cpulevel_t;
92199767fToomas Soometypedef	__cpusetid_t	cpusetid_t;
93199767fToomas Soome
94199767fToomas Soome#ifndef _BLKCNT_T_DECLARED
95199767fToomas Soometypedef	__blkcnt_t	blkcnt_t;
96199767fToomas Soome#define	_BLKCNT_T_DECLARED
97199767fToomas Soome#endif
98199767fToomas Soome
99199767fToomas Soome#ifndef _CLOCK_T_DECLARED
100199767fToomas Soometypedef	__clock_t	clock_t;
101199767fToomas Soome#define	_CLOCK_T_DECLARED
102199767fToomas Soome#endif
103199767fToomas Soome
104199767fToomas Soome#ifndef _CLOCKID_T_DECLARED
105199767fToomas Soometypedef	__clockid_t	clockid_t;
106199767fToomas Soome#define	_CLOCKID_T_DECLARED
107199767fToomas Soome#endif
108199767fToomas Soome
109199767fToomas Soometypedef	__critical_t	critical_t;	/* Critical section value */
110199767fToomas Soometypedef	__int64_t	daddr_t;	/* disk address */
111199767fToomas Soome
112199767fToomas Soome#ifndef _DEV_T_DECLARED
113199767fToomas Soometypedef	__dev_t		dev_t;		/* device number or struct cdev */
114199767fToomas Soome#define	_DEV_T_DECLARED
115199767fToomas Soome#endif
116199767fToomas Soome
117199767fToomas Soome#ifndef _FFLAGS_T_DECLARED
118199767fToomas Soometypedef	__fflags_t	fflags_t;	/* file flags */
119199767fToomas Soome#define	_FFLAGS_T_DECLARED
120199767fToomas Soome#endif
121199767fToomas Soome
122199767fToomas Soometypedef	__fixpt_t	fixpt_t;	/* fixed point number */
123199767fToomas Soome
124199767fToomas Soome#ifndef _FSBLKCNT_T_DECLARED		/* for statvfs() */
125199767fToomas Soometypedef	__fsblkcnt_t	fsblkcnt_t;
126199767fToomas Soometypedef	__fsfilcnt_t	fsfilcnt_t;
127199767fToomas Soome#define	_FSBLKCNT_T_DECLARED
128199767fToomas Soome#endif
129199767fToomas Soome
130199767fToomas Soome#ifndef _GID_T_DECLARED
131199767fToomas Soometypedef	__gid_t		gid_t;		/* group id */
132199767fToomas Soome#define	_GID_T_DECLARED
133199767fToomas Soome#endif
134199767fToomas Soome
135199767fToomas Soome#ifndef _IN_ADDR_T_DECLARED
136199767fToomas Soometypedef	__uint32_t	in_addr_t;	/* base type for internet address */
137199767fToomas Soome#define	_IN_ADDR_T_DECLARED
138199767fToomas Soome#endif
139199767fToomas Soome
140199767fToomas Soome#ifndef _IN_PORT_T_DECLARED
141199767fToomas Soometypedef	__uint16_t	in_port_t;
142199767fToomas Soome#define	_IN_PORT_T_DECLARED
143199767fToomas Soome#endif
144199767fToomas Soome
145199767fToomas Soome#ifndef _ID_T_DECLARED
146199767fToomas Soometypedef	__id_t		id_t;		/* can hold a uid_t or pid_t */
147199767fToomas Soome#define	_ID_T_DECLARED
148199767fToomas Soome#endif
149199767fToomas Soome
150199767fToomas Soome#ifndef _INO_T_DECLARED
151199767fToomas Soometypedef	__ino_t		ino_t;		/* inode number */
152199767fToomas Soome#define	_INO_T_DECLARED
153199767fToomas Soome#endif
154199767fToomas Soome
155199767fToomas Soome#ifndef _KEY_T_DECLARED
156199767fToomas Soometypedef	__key_t		key_t;		/* IPC key (for Sys V IPC) */
157199767fToomas Soome#define	_KEY_T_DECLARED
158199767fToomas Soome#endif
159199767fToomas Soome
160199767fToomas Soome#ifndef _LWPID_T_DECLARED
161199767fToomas Soometypedef	__lwpid_t	lwpid_t;	/* Thread ID (a.k.a. LWP) */
162199767fToomas Soome#define	_LWPID_T_DECLARED
163199767fToomas Soome#endif
164199767fToomas Soome
165199767fToomas Soome#ifndef _MODE_T_DECLARED
166199767fToomas Soometypedef	__mode_t	mode_t;		/* permissions */
167199767fToomas Soome#define	_MODE_T_DECLARED
168199767fToomas Soome#endif
169199767fToomas Soome
170199767fToomas Soome#ifndef _ACCMODE_T_DECLARED
171199767fToomas Soometypedef	__accmode_t	accmode_t;	/* access permissions */
172199767fToomas Soome#define	_ACCMODE_T_DECLARED
173199767fToomas Soome#endif
174199767fToomas Soome
175199767fToomas Soome#ifndef _NLINK_T_DECLARED
176199767fToomas Soometypedef	__nlink_t	nlink_t;	/* link count */
177199767fToomas Soome#define	_NLINK_T_DECLARED
178199767fToomas Soome#endif
179199767fToomas Soome
180199767fToomas Soome#ifndef _OFF_T_DECLARED
181199767fToomas Soometypedef	__off_t		off_t;		/* file offset */
182199767fToomas Soome#define	_OFF_T_DECLARED
183199767fToomas Soome#endif
184199767fToomas Soome
185199767fToomas Soome#ifndef _PID_T_DECLARED
186199767fToomas Soometypedef	__pid_t		pid_t;		/* process id */
187199767fToomas Soome#define	_PID_T_DECLARED
188199767fToomas Soome#endif
189199767fToomas Soome
190199767fToomas Soometypedef	__register_t	register_t;
191199767fToomas Soome
192199767fToomas Soome#ifndef _RLIM_T_DECLARED
193199767fToomas Soometypedef	__rlim_t	rlim_t;		/* resource limit */
194199767fToomas Soome#define	_RLIM_T_DECLARED
195199767fToomas Soome#endif
196199767fToomas Soome
197199767fToomas Soometypedef	__int64_t	sbintime_t;
198199767fToomas Soome
199199767fToomas Soometypedef	__segsz_t	segsz_t;	/* segment size (in pages) */
200199767fToomas Soome
201199767fToomas Soome#ifndef _SIZE_T_DECLARED
202199767fToomas Soometypedef	__size_t	size_t;
203199767fToomas Soome#define	_SIZE_T_DECLARED
204199767fToomas Soome#endif
205199767fToomas Soome
206199767fToomas Soome#ifndef _SSIZE_T_DECLARED
207199767fToomas Soometypedef	__ssize_t	ssize_t;
208199767fToomas Soome#define	_SSIZE_T_DECLARED
209199767fToomas Soome#endif
210199767fToomas Soome
211199767fToomas Soome#ifndef _SUSECONDS_T_DECLARED
212199767fToomas Soometypedef	__suseconds_t	suseconds_t;	/* microseconds (signed) */
213199767fToomas Soome#define	_SUSECONDS_T_DECLARED
214199767fToomas Soome#endif
215199767fToomas Soome
216199767fToomas Soome#ifndef _TIME_T_DECLARED
217199767fToomas Soometypedef	__time_t	time_t;
218199767fToomas Soome#define	_TIME_T_DECLARED
219199767fToomas Soome#endif
220199767fToomas Soome
221199767fToomas Soome#ifndef _TIMER_T_DECLARED
222199767fToomas Soometypedef	__timer_t	timer_t;
223199767fToomas Soome#define	_TIMER_T_DECLARED
224199767fToomas Soome#endif
225199767fToomas Soome
226199767fToomas Soome#ifndef _MQD_T_DECLARED
227199767fToomas Soometypedef	__mqd_t	mqd_t;
228199767fToomas Soome#define	_MQD_T_DECLARED
229199767fToomas Soome#endif
230199767fToomas Soome
231199767fToomas Soometypedef	__u_register_t	u_register_t;
232199767fToomas Soome
233199767fToomas Soome#ifndef _UID_T_DECLARED
234199767fToomas Soometypedef	__uid_t		uid_t;		/* user id */
235199767fToomas Soome#define	_UID_T_DECLARED
236199767fToomas Soome#endif
237199767fToomas Soome
238199767fToomas Soome#ifndef _USECONDS_T_DECLARED
239199767fToomas Soometypedef	__useconds_t	useconds_t;	/* microseconds (unsigned) */
240199767fToomas Soome#define	_USECONDS_T_DECLARED
241199767fToomas Soome#endif
242199767fToomas Soome
243199767fToomas Soome#ifndef _CAP_IOCTL_T_DECLARED
244199767fToomas Soome#define	_CAP_IOCTL_T_DECLARED
245199767fToomas Soometypedef	unsigned long	cap_ioctl_t;
246199767fToomas Soome#endif
247199767fToomas Soome
248199767fToomas Soome#ifndef _CAP_RIGHTS_T_DECLARED
249199767fToomas Soome#define	_CAP_RIGHTS_T_DECLARED
250199767fToomas Soomestruct cap_rights;
251199767fToomas Soome
252199767fToomas Soometypedef	struct cap_rights	cap_rights_t;
253199767fToomas Soome#endif
254199767fToomas Soome
255199767fToomas Soometypedef	__vm_offset_t	vm_offset_t;
256199767fToomas Soometypedef	__vm_ooffset_t	vm_ooffset_t;
257199767fToomas Soometypedef	__vm_paddr_t	vm_paddr_t;
258199767fToomas Soometypedef	__vm_pindex_t	vm_pindex_t;
259199767fToomas Soometypedef	__vm_size_t	vm_size_t;
260199767fToomas Soome
261199767fToomas Soometypedef __rman_res_t    rman_res_t;
262199767fToomas Soome
263199767fToomas Soome#ifdef _KERNEL
264199767fToomas Soometypedef	int		boolean_t;
265199767fToomas Soometypedef	struct device	*device_t;
266199767fToomas Soometypedef	__intfptr_t	intfptr_t;
267199767fToomas Soome
268199767fToomas Soome/*
269199767fToomas Soome * XXX this is fixed width for historical reasons.  It should have had type
270199767fToomas Soome * __int_fast32_t.  Fixed-width types should not be used unless binary
271199767fToomas Soome * compatibility is essential.  Least-width types should be used even less
272199767fToomas Soome * since they provide smaller benefits.
273199767fToomas Soome *
274199767fToomas Soome * XXX should be MD.
275199767fToomas Soome *
276199767fToomas Soome * XXX this is bogus in -current, but still used for spl*().
277199767fToomas Soome */
278199767fToomas Soometypedef	__uint32_t	intrmask_t;	/* Interrupt mask (spl, xxx_imask...) */
279199767fToomas Soome
280199767fToomas Soometypedef	__uintfptr_t	uintfptr_t;
281199767fToomas Soometypedef	__uint64_t	uoff_t;
282199767fToomas Soometypedef	char		vm_memattr_t;	/* memory attribute codes */
283199767fToomas Soometypedef	struct vm_page	*vm_page_t;
284199767fToomas Soome
285199767fToomas Soome#if !defined(__bool_true_false_are_defined) && !defined(__cplusplus)
286199767fToomas Soome#define	__bool_true_false_are_defined	1
287199767fToomas Soome#define	false	0
288199767fToomas Soome#define	true	1
289199767fToomas Soome#if __STDC_VERSION__ < 199901L && __GNUC__ < 3 && !defined(__INTEL_COMPILER)
290199767fToomas Soometypedef	int	_Bool;
291199767fToomas Soome#endif
292199767fToomas Soometypedef	_Bool	bool;
293199767fToomas Soome#endif /* !__bool_true_false_are_defined && !__cplusplus */
294199767fToomas Soome
295199767fToomas Soome#define offsetof(type, field) __offsetof(type, field)
296199767fToomas Soome
2979890ff8Toomas Soome#else
2989890ff8Toomas Soome/* for illumos compatibility */
2999890ff8Toomas Soometypedef enum boolean { B_FALSE, B_TRUE } boolean_t;
3009890ff8Toomas Soome
301199767fToomas Soome#endif /* !_KERNEL */
302199767fToomas Soome
303199767fToomas Soome/*
304199767fToomas Soome * The following are all things that really shouldn't exist in this header,
305199767fToomas Soome * since its purpose is to provide typedefs, not miscellaneous doodads.
306199767fToomas Soome */
307199767fToomas Soome
308199767fToomas Soome#ifdef __POPCNT__
309199767fToomas Soome#define	__bitcount64(x)	__builtin_popcountll((__uint64_t)(x))
310199767fToomas Soome#define	__bitcount32(x)	__builtin_popcount((__uint32_t)(x))
311199767fToomas Soome#define	__bitcount16(x)	__builtin_popcount((__uint16_t)(x))
312199767fToomas Soome#define	__bitcountl(x)	__builtin_popcountl((unsigned long)(x))
313199767fToomas Soome#define	__bitcount(x)	__builtin_popcount((unsigned int)(x))
314199767fToomas Soome#else
315199767fToomas Soome/*
316199767fToomas Soome * Population count algorithm using SWAR approach
317199767fToomas Soome * - "SIMD Within A Register".
318199767fToomas Soome */
319199767fToomas Soomestatic __inline __uint16_t
320199767fToomas Soome__bitcount16(__uint16_t _x)
321199767fToomas Soome{
322199767fToomas Soome
323199767fToomas Soome	_x = (_x & 0x5555) + ((_x & 0xaaaa) >> 1);
324199767fToomas Soome	_x = (_x & 0x3333) + ((_x & 0xcccc) >> 2);
325199767fToomas Soome	_x = (_x + (_x >> 4)) & 0x0f0f;
326199767fToomas Soome	_x = (_x + (_x >> 8)) & 0x00ff;
327199767fToomas Soome	return (_x);
328199767fToomas Soome}
329199767fToomas Soome
330199767fToomas Soomestatic __inline __uint32_t
331199767fToomas Soome__bitcount32(__uint32_t _x)
332199767fToomas Soome{
333199767fToomas Soome
334199767fToomas Soome	_x = (_x & 0x55555555) + ((_x & 0xaaaaaaaa) >> 1);
335199767fToomas Soome	_x = (_x & 0x33333333) + ((_x & 0xcccccccc) >> 2);
336199767fToomas Soome	_x = (_x + (_x >> 4)) & 0x0f0f0f0f;
337199767fToomas Soome	_x = (_x + (_x >> 8));
338199767fToomas Soome	_x = (_x + (_x >> 16)) & 0x000000ff;
339199767fToomas Soome	return (_x);
340199767fToomas Soome}
341199767fToomas Soome
342199767fToomas Soome#ifdef __LP64__
343199767fToomas Soomestatic __inline __uint64_t
344199767fToomas Soome__bitcount64(__uint64_t _x)
345199767fToomas Soome{
346199767fToomas Soome
347199767fToomas Soome	_x = (_x & 0x5555555555555555) + ((_x & 0xaaaaaaaaaaaaaaaa) >> 1);
348199767fToomas Soome	_x = (_x & 0x3333333333333333) + ((_x & 0xcccccccccccccccc) >> 2);
349199767fToomas Soome	_x = (_x + (_x >> 4)) & 0x0f0f0f0f0f0f0f0f;
350199767fToomas Soome	_x = (_x + (_x >> 8));
351199767fToomas Soome	_x = (_x + (_x >> 16));
352199767fToomas Soome	_x = (_x + (_x >> 32)) & 0x000000ff;
353199767fToomas Soome	return (_x);
354199767fToomas Soome}
355199767fToomas Soome
356199767fToomas Soome#define	__bitcountl(x)	__bitcount64((unsigned long)(x))
357199767fToomas Soome#else
358199767fToomas Soomestatic __inline __uint64_t
359199767fToomas Soome__bitcount64(__uint64_t _x)
360199767fToomas Soome{
361199767fToomas Soome
362199767fToomas Soome	return (__bitcount32(_x >> 32) + __bitcount32(_x));
363199767fToomas Soome}
364199767fToomas Soome
365199767fToomas Soome#define	__bitcountl(x)	__bitcount32((unsigned long)(x))
366199767fToomas Soome#endif
367199767fToomas Soome#define	__bitcount(x)	__bitcount32((unsigned int)(x))
368199767fToomas Soome#endif
369199767fToomas Soome
370199767fToomas Soome#if __BSD_VISIBLE
371199767fToomas Soome
372199767fToomas Soome#include <sys/select.h>
373199767fToomas Soome
374199767fToomas Soome/*
375199767fToomas Soome * minor() gives a cookie instead of an index since we don't want to
376199767fToomas Soome * change the meanings of bits 0-15 or waste time and space shifting
377199767fToomas Soome * bits 16-31 for devices that don't use them.
378199767fToomas Soome */
379199767fToomas Soome#define	major(x)	((int)(((u_int)(x) >> 8)&0xff))	/* major number */
380199767fToomas Soome#define	minor(x)	((int)((x)&0xffff00ff))		/* minor number */
381199767fToomas Soome#define	makedev(x,y)	((dev_t)(((x) << 8) | (y)))	/* create dev_t */
382199767fToomas Soome
383199767fToomas Soome/*
384199767fToomas Soome * These declarations belong elsewhere, but are repeated here and in
385199767fToomas Soome * <stdio.h> to give broken programs a better chance of working with
386199767fToomas Soome * 64-bit off_t's.
387199767fToomas Soome */
388199767fToomas Soome#ifndef _KERNEL
389199767fToomas Soome__BEGIN_DECLS
390199767fToomas Soome#ifndef _FTRUNCATE_DECLARED
391199767fToomas Soome#define	_FTRUNCATE_DECLARED
392199767fToomas Soomeint	 ftruncate(int, off_t);
393199767fToomas Soome#endif
394199767fToomas Soome#ifndef _LSEEK_DECLARED
395199767fToomas Soome#define	_LSEEK_DECLARED
396199767fToomas Soomeoff_t	 lseek(int, off_t, int);
397199767fToomas Soome#endif
398199767fToomas Soome#ifndef _MMAP_DECLARED
399199767fToomas Soome#define	_MMAP_DECLARED
400199767fToomas Soomevoid *	 mmap(void *, size_t, int, int, int, off_t);
401199767fToomas Soome#endif
402199767fToomas Soome#ifndef _TRUNCATE_DECLARED
403199767fToomas Soome#define	_TRUNCATE_DECLARED
404199767fToomas Soomeint	 truncate(const char *, off_t);
405199767fToomas Soome#endif
406199767fToomas Soome__END_DECLS
407199767fToomas Soome#endif /* !_KERNEL */
408199767fToomas Soome
409199767fToomas Soome#endif /* __BSD_VISIBLE */
410199767fToomas Soome
411199767fToomas Soome#endif /* !_SYS_TYPES_H_ */
412