Split mkfifo().
[dragonfly.git] / sys / sys / stdint.h
1 /*
2  * This file is in the public domain.
3  * $FreeBSD: src/sys/sys/inttypes.h,v 1.2 1999/08/28 00:51:47 peter Exp $
4  * $DragonFly: src/sys/sys/stdint.h,v 1.1 2003/11/09 02:22:37 dillon Exp $
5  *
6  * Note: since portions of these header files can be included with various
7  * other combinations of defines, we cannot surround the whole header file
8  * with an #ifndef sequence.  Elements are individually protected.
9  */
10
11 #include <machine/stdint.h>
12
13 #ifndef _SYS_STDINT_H_
14 #define _SYS_STDINT_H_
15
16 typedef int             __ct_rune_t;
17 typedef __ct_rune_t     __rune_t;
18 #ifndef __cplusplus
19 typedef __ct_rune_t     __wchar_t;
20 #endif
21 typedef __ct_rune_t     __wint_t;
22 typedef __int64_t       __off_t;
23 typedef __int32_t       __pid_t;
24
25 #endif  /* SYS_STDINT_H */
26
27 #if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS)
28 #ifndef _SYS_STDINT_H_STDC_LIMIT_MACROS_
29 #define _SYS_STDINT_H_STDC_LIMIT_MACROS_
30
31 #ifndef WCHAR_MIN /* Also possibly defined in <wchar.h> */
32 /* Limits of wchar_t. */
33 #define WCHAR_MIN       INT32_MIN
34 #define WCHAR_MAX       INT32_MAX
35
36 /* Limits of wint_t. */
37 #define WINT_MIN        INT32_MIN
38 #define WINT_MAX        INT32_MAX
39 #endif
40
41 #endif  /* STDINT_H_STDC_LIMIT_MACROS */
42 #endif  /* STDC_LIMIT_MACROS */