• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* This file is needed by libio to define various configuration parameters.
2    These are always the same in the GNU C library.  */
3 
4 #ifndef _G_config_h
5 #define _G_config_h 1
6 
7 /* Define types for libio in terms of the standard internal type names.  */
8 
9 #include <bits/types.h>
10 #define __need_size_t
11 #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
12 # define __need_wchar_t
13 #endif
14 #define __need_NULL
15 #include <stddef.h>
16 #define __need_mbstate_t
17 #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
18 # define __need_wint_t
19 #endif
20 #include <wchar.h>
21 typedef struct
22 {
23   __off_t __pos;
24   __mbstate_t __state;
25 } _G_fpos_t;
26 typedef struct
27 {
28   __off64_t __pos;
29   __mbstate_t __state;
30 } _G_fpos64_t;
31 #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
32 # include <gconv.h>
33 typedef union
34 {
35   struct __gconv_info __cd;
36   struct
37   {
38     struct __gconv_info __cd;
39     struct __gconv_step_data __data;
40   } __combined;
41 } _G_iconv_t;
42 #endif
43 
44 
45 /* These library features are always available in the GNU C library.  */
46 #define _G_va_list __gnuc_va_list
47 
48 #define _G_HAVE_MMAP 1
49 #define _G_HAVE_MREMAP 1
50 
51 #define _G_IO_IO_FILE_VERSION 0x20001
52 
53 /* This is defined by <bits/stat.h> if `st_blksize' exists.  */
54 #define _G_HAVE_ST_BLKSIZE defined (_STATBUF_ST_BLKSIZE)
55 
56 #define _G_BUFSIZ 8192
57 
58 #endif	/* _G_config.h */
59