about summary refs log tree commit diff
path: root/conform/data/stdio.h-data
diff options
context:
space:
mode:
Diffstat (limited to 'conform/data/stdio.h-data')
-rw-r--r--conform/data/stdio.h-data56
1 files changed, 45 insertions, 11 deletions
diff --git a/conform/data/stdio.h-data b/conform/data/stdio.h-data
index cba7721d9a..ac2dfc4215 100644
--- a/conform/data/stdio.h-data
+++ b/conform/data/stdio.h-data
@@ -6,9 +6,11 @@ constant _IOFBF
 constant _IOLBF
 constant _IONBF
 
+#if !defined ISO && !defined ISO99 && !defined ISO11
 constant L_ctermid
-#if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
+# if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
 constant L_cuserid
+# endif
 #endif
 constant L_tmpnam
 
@@ -22,7 +24,7 @@ constant EOF
 
 constant NULL
 
-#if !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
 constant P_tmpdir
 #endif
 
@@ -32,7 +34,11 @@ macro stderr
 
 type FILE
 type fpos_t
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
 type va_list
+#else
+#define va_list _G_va_list
+#endif
 type size_t
 #if defined XOPEN2K8 || defined POSIX2008
 type off_t
@@ -40,23 +46,31 @@ type ssize_t
 #endif
 
 function void clearerr (FILE*)
+#if !defined ISO && !defined ISO99 && !defined ISO11
 function {char*} ctermid (char*)
-#if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
+# if defined XPG3 || defined XPG4 || defined UNIX98
 function {char*} cuserid (char*)
+# endif
 #endif
 #if defined XOPEN2K8 || defined POSIX2008
 function int dprintf (int, const char*, ...)
 #endif
 function int fclose (FILE*)
+#if defined XOPEN2K8 || defined POSIX2008
 function {FILE*} fdopen (int, const char*)
+#endif
 function int feof (FILE*)
 function int ferror (FILE*)
 function int fflush (FILE*)
 function int fgetc (FILE*)
 function int fgetpos (FILE*, fpos_t*)
 function {char*} fgets (char*, int, FILE*)
+#if !defined ISO && !defined ISO99 && !defined ISO11
 function int fileno (FILE*)
+#endif
+#if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
 function void flockfile (FILE*)
+#endif
 #if defined XOPEN2K8 || defined POSIX2008
 function {FILE*} fmemopen (void*, size_t, const char*)
 #endif
@@ -68,41 +82,57 @@ function size_t fread (void*, size_t, size_t, FILE*)
 function {FILE*} freopen (const char*, const char*, FILE*)
 function int fscanf (FILE*, const char*, ...)
 function int fseek (FILE*, long int, int)
+#if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
 function int fseeko (FILE*, off_t, int)
+#endif
 function int fsetpos (FILE*, const fpos_t*)
 function {long int} ftell (FILE*)
+#if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
 function off_t ftello (FILE*)
+#endif
+#if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
 function int ftrylockfile (FILE*)
 function void funlockfile (FILE*)
+#endif
 function size_t fwrite (const void*, size_t, size_t, FILE*)
 function int getc (FILE*)
 function int getchar (void)
+#if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
 function int getc_unlocked (FILE*)
 function int getchar_unlocked ()
+#endif
 #if defined XOPEN2K8 || defined POSIX2008
 function ssize_t getdelim (char**, size_t*, int, FILE*)
 function ssize_t getline (char**, size_t*, FILE*)
 #endif
-#if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
+#if defined XPG3 || defined XPG4 || defined UNIX98
 function int getopt (int, char *const[], const char *)
 #endif
+#if !defined ISO11
 function {char*} gets (char*)
-#if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
+#endif
+#if defined XPG3 || defined XPG4 || defined UNIX98
 function int getw (FILE*)
 #endif
 #if defined XOPEN2K8 || defined POSIX2008
 function {FILE*} open_memstream (char**, size_t*)
 #endif
+#if !defined ISO && !defined ISO99 && !defined ISO11
 function int pclose (FILE*)
+#endif
 function void perror (const char*)
+#if !defined ISO && !defined ISO99 && !defined ISO11
 function {FILE*} popen (const char*, const char*)
+#endif
 function int printf (const char*, ...)
 function int putc (int, FILE*)
 function int putchar (int)
+#if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
 function int putc_unlocked (int, FILE*)
 function int putchar_unlocked (int)
+#endif
 function int puts (const char*)
-#if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
+#if defined XPG3 || defined XPG4 || defined UNIX98
 function int putw (int, FILE*)
 #endif
 function int remove (const char*)
@@ -114,10 +144,12 @@ function void rewind (FILE*)
 function int scanf (const char*, ...)
 function void setbuf (FILE*, char*)
 function int setvbuf (FILE*, char*, int, size_t)
+#if !defined ISO && !defined POSIX
 function int snprintf (char*, size_t, const char*, ...)
+#endif
 function int sprintf (char *, const char *, ...)
 function int sscanf (const char*, const char*, ...)
-#if !defined POSIX && !defined POSIX2008
+#if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K || defined XOPEN2K8
 function {char*} tempnam (const char*, const char*)
 #endif
 function {FILE*} tmpfile (void)
@@ -127,20 +159,22 @@ function int ungetc (int, FILE*)
 function int vdprintf (int, const char*, va_list)
 #endif
 function int vfprintf (FILE*, const char*, va_list)
-#if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
+#if !defined ISO && !defined XPG3 && !defined XPG4 && !defined UNIX98
 function int vfscanf (FILE*, const char*, va_list)
 #endif
 function int vprintf (const char*, va_list)
-#if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
+#if !defined ISO && !defined XPG3 && !defined XPG4 && !defined UNIX98
 function int vscanf (const char*, va_list)
 #endif
+#ifndef ISO
 function int vsnprintf (char*, size_t, const char*, va_list)
+#endif
 function int vsprintf (char*, const char*, va_list)
-#if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
+#if !defined ISO && !defined XPG3 && !defined XPG4 && !defined UNIX98
 function int vsscanf (const char*, const char*, va_list)
 #endif
 
-#if !defined ISO && !defined POSIX
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
 #if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
 variable {char*} optarg
 variable int opterr