PR other/87353 fix formatting and grammar in manual
[official-gcc.git] / fixincludes / tests / base / stdio.h
blob491c75da6e5540b713942c7674f92e1dac4fc1da
1 /* DO NOT EDIT THIS FILE.
3 It has been auto-edited by fixincludes from:
5 "fixinc/tests/inc/stdio.h"
7 This had to be done to correct non-standard usages in the
8 original, manufacturer supplied header file. */
10 #ifndef FIXINC_WRAP_STDIO_H_STDIO_STDARG_H
11 #define FIXINC_WRAP_STDIO_H_STDIO_STDARG_H 1
13 #define __need___va_list
14 #include <stdarg.h>
17 #if defined( AAB_AIX_STDIO_CHECK )
19 #endif /* AAB_AIX_STDIO_CHECK */
22 #if defined( AIX_STDIO_INLINE_CHECK )
23 #ifdef __cplusplus
25 #endif
27 #if (defined(__cplusplus) && defined(__IBMCPP__))
28 #ifdef ferror
29 #endif /* AIX_STDIO_INLINE_CHECK */
32 #if defined( ALPHA_GETOPT_CHECK )
33 extern int getopt(int, char *const[], const char *);
34 #endif /* ALPHA_GETOPT_CHECK */
37 #if defined( BSD_STDIO_ATTRS_CONFLICT_CHECK )
38 #define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)
39 #define _BSD_STRINGX(_BSD_X) #_BSD_X
40 int vfscanf(FILE *, const char *, __builtin_va_list) __asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) "__svfscanf");
41 #endif /* BSD_STDIO_ATTRS_CONFLICT_CHECK */
44 #if defined( HPUX10_STDIO_DECLARATIONS_CHECK )
45 # define _iob __iob
47 #endif /* HPUX10_STDIO_DECLARATIONS_CHECK */
50 #if defined( HPUX11_SNPRINTF_CHECK )
51 extern int snprintf(char *, size_t, const char *, ...);
52 extern int snprintf(char *, _hpux_size_t, const char *, ...);
53 extern int snprintf(char *, _hpux_size_t, const char *, ...);
54 #endif /* HPUX11_SNPRINTF_CHECK */
57 #if defined( HPUX11_VSNPRINTF_CHECK )
58 extern int vsnprintf(char *, _hpux_size_t, const char *, __gnuc_va_list);
59 #endif /* HPUX11_VSNPRINTF_CHECK */
62 #if defined( HPUX_VSSCANF_CHECK )
63 extern int vsscanf(const char *, const char *, __gnuc_va_list);
64 #endif /* HPUX_VSSCANF_CHECK */
67 #if defined( IRIX_STDIO_DUMMY_VA_LIST_CHECK )
68 extern int printf( const char *, __gnuc_va_list );
69 #endif /* IRIX_STDIO_DUMMY_VA_LIST_CHECK */
72 #if defined( READ_RET_TYPE_CHECK )
73 extern unsigned int fread(), fwrite();
74 extern int fclose(), fflush(), foo();
75 #endif /* READ_RET_TYPE_CHECK */
78 #if defined( RS6000_PARAM_CHECK )
79 extern int rename(const char *_old, const char *_new);
80 #endif /* RS6000_PARAM_CHECK */
83 #if defined( SOLARIS_STD___FILBUF_CHECK )
84 using std::perror;
85 #ifndef _LP64
86 using std::__filbuf;
87 using std::__flsbuf;
88 #endif
89 #endif
90 #endif /* SOLARIS_STD___FILBUF_CHECK */
93 #if defined( SOLARIS_STD_GETS_CXX14_CHECK )
94 #if __cplusplus < 201402L
95 using std::gets;
96 #endif
97 #endif /* SOLARIS_STD_GETS_CXX14_CHECK */
100 #if defined( STDIO_STDARG_H_CHECK )
102 #endif /* STDIO_STDARG_H_CHECK */
105 #if defined( STDIO_DUMMY_VA_LIST_CHECK )
106 extern void mumble( __gnuc_va_list);
107 #endif /* STDIO_DUMMY_VA_LIST_CHECK */
110 #if defined( ULTRIX_CONST_CHECK )
111 extern void perror( const char *__s );
112 extern int fputs( const char *__s, FILE *);
113 extern size_t fwrite( const void *__ptr, size_t, size_t, FILE *);
114 extern int fscanf( FILE *__stream, const char *__format, ...);
115 extern int scanf( const char *__format, ...);
117 #endif /* ULTRIX_CONST_CHECK */
120 #if defined( ULTRIX_CONST2_CHECK )
121 extern FILE *fopen( const char *__filename, const char *__type );
122 extern int sscanf( const char *__s, const char *__format, ...);
123 extern FILE *popen( const char *, const char *);
124 extern char *tempnam( const char *, const char *);
126 #endif /* ULTRIX_CONST2_CHECK */
128 #endif /* FIXINC_WRAP_STDIO_H_STDIO_STDARG_H */