/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: ansi:stdio.h (VERSION 2.6)
*/

#ifndef __TDF_ANSI_STDIO_H
#define __TDF_ANSI_STDIO_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__ansi__stdio begin

#ifndef __TDF_ANSI_STDARG_H_VA_LIST
#pragma extend interface "../shared/ansi.api/va_list.h"
#endif /* __TDF_ANSI_STDARG_H_VA_LIST */
#ifndef __TDF_ANSI_STDDEF_H_SIZE_T
#pragma extend interface "../shared/ansi.api/size_t.h"
#endif /* __TDF_ANSI_STDDEF_H_SIZE_T */
#pragma extend interface "../shared/ansi.api/null.h"
#ifndef __TDF_ANSI_STDIO_H_FILE
#pragma extend interface "../shared/ansi.api/file.h"
#endif /* __TDF_ANSI_STDIO_H_FILE */
#pragma token EXP rvalue : FILE * : stdin # ansi.stdio.stdin
#pragma token EXP rvalue : FILE * : stdout # ansi.stdio.stdout
#pragma token EXP rvalue : FILE * : stderr # ansi.stdio.stderr
#ifndef __TDF_ANSI_STDIO_H_EOF
#pragma extend interface "../shared/ansi.api/eof.h"
#endif /* __TDF_ANSI_STDIO_H_EOF */
#pragma token EXP const : int : BUFSIZ # ansi.stdio.BUFSIZ
#pragma token EXP const : int : FILENAME_MAX # ansi.stdio.FILENAME_MAX
#pragma token EXP const : int : FOPEN_MAX # ansi.stdio.FOPEN_MAX
#pragma token EXP const : int : _IOFBF # ansi.stdio._IOFBF
#pragma token EXP const : int : _IOLBF # ansi.stdio._IOLBF
#pragma token EXP const : int : _IONBF # ansi.stdio._IONBF
#pragma token EXP const : int : L_tmpnam # ansi.stdio.L_tmpnam
#ifndef __TDF_ANSI_STDIO_H_SEEK_CONSTS
#pragma extend interface "../shared/ansi.api/seek_con.h"
#endif /* __TDF_ANSI_STDIO_H_SEEK_CONSTS */
#ifndef __TDF_ANSI_STDIO_H_TMP_MAX
#pragma extend interface "../shared/ansi.api/tmp_max.h"
#endif /* __TDF_ANSI_STDIO_H_TMP_MAX */
#ifndef __NO_PRINTF_CHECKS
#ifndef __BUILDING_LIBS
#ifdef __TenDRA__
#pragma TenDRA type __local_printf_string for ... printf
#else /* __TenDRA__ */
typedef const char * __local_printf_string;
#endif /* __TenDRA__ */
#else /* __BUILDING_LIBS */
typedef const char * __local_printf_string;
#endif /* __BUILDING_LIBS */
#ifndef __BUILDING_LIBS
#ifdef __TenDRA__
#pragma TenDRA type __local_scanf_string for ... scanf
#else /* __TenDRA__ */
typedef const char * __local_scanf_string;
#endif /* __TenDRA__ */
#else /* __BUILDING_LIBS */
typedef const char * __local_scanf_string;
#endif /* __BUILDING_LIBS */
#else /* __NO_PRINTF_CHECKS */
typedef const char *__local_printf_string;
typedef const char *__local_scanf_string;
#endif /* __NO_PRINTF_CHECKS */
#pragma token FUNC void (FILE *) : clearerr # ansi.stdio.clearerr
#pragma token FUNC int (FILE *) : fclose # ansi.stdio.fclose
#pragma token FUNC int (FILE *) : feof # ansi.stdio.feof
#pragma token FUNC int (FILE *) : ferror # ansi.stdio.ferror
#pragma token FUNC int (FILE *) : fflush # ansi.stdio.fflush
#pragma token FUNC int (FILE *) : fgetc # ansi.stdio.fgetc
#pragma token FUNC char * (char *, int, FILE *) : fgets # ansi.stdio.fgets
#pragma token FUNC FILE * (const char *, const char *) : fopen # ansi.stdio.fopen
#pragma token FUNC int (int, FILE *) : fputc # ansi.stdio.fputc
#pragma token FUNC int (const char *, FILE *) : fputs # ansi.stdio.fputs
#pragma token FUNC size_t (void *, size_t, size_t, FILE *) : fread # ansi.stdio.fread
#pragma token FUNC FILE * (const char *, const char *, FILE *) : freopen # ansi.stdio.freopen
#pragma token FUNC int (FILE *, long, int) : fseek # ansi.stdio.fseek
#pragma token FUNC long (FILE *) : ftell # ansi.stdio.ftell
#pragma token FUNC size_t (const void *, size_t, size_t, FILE *) : fwrite # ansi.stdio.fwrite
#pragma token FUNC int (FILE *) : getc # ansi.stdio.getc
#pragma token FUNC int (void) : getchar # ansi.stdio.getchar
#pragma token FUNC char * (char *) : gets # ansi.stdio.gets
#pragma token FUNC void (const char *) : perror # ansi.stdio.perror
#pragma token FUNC int (int, FILE *) : putc # ansi.stdio.putc
#pragma token FUNC int (int) : putchar # ansi.stdio.putchar
#pragma token FUNC int (const char *) : puts # ansi.stdio.puts
#pragma token FUNC int (const char *) : remove # ansi.stdio.remove
#ifndef __TDF_ANSI_STDIO_H_RENAME
#pragma extend interface "../shared/ansi.api/rename.h"
#endif /* __TDF_ANSI_STDIO_H_RENAME */
#pragma token FUNC void (FILE *) : rewind # ansi.stdio.rewind
#pragma token FUNC void (FILE *, char *) : setbuf # ansi.stdio.setbuf
#pragma token FUNC FILE * (void) : tmpfile # ansi.stdio.tmpfile
#pragma token FUNC char * (char *) : tmpnam # ansi.stdio.tmpnam
#pragma token FUNC int (int, FILE *) : ungetc # ansi.stdio.ungetc
#pragma token FUNC int (__local_printf_string, ...) : printf # ansi.stdio.printf
#pragma token FUNC int (FILE *, __local_printf_string, ...) : fprintf # ansi.stdio.fprintf
#pragma token FUNC int (char *, __local_printf_string, ...) : sprintf # ansi.stdio.sprintf
#pragma token FUNC int (__local_scanf_string, ...) : scanf # ansi.stdio.scanf
#pragma token FUNC int (FILE *, __local_scanf_string, ...) : fscanf # ansi.stdio.fscanf
#pragma token FUNC int (const char *, __local_scanf_string, ...) : sscanf # ansi.stdio.sscanf
#ifndef __JUST_POSIX
#ifndef __JUST_XPG3
#pragma token TYPE fpos_t # ansi.stdio.fpos_t
#pragma token FUNC int (FILE *, fpos_t *) : fgetpos # ansi.stdio.fgetpos
#pragma token FUNC int (FILE *, const fpos_t *) : fsetpos # ansi.stdio.fsetpos
#endif /* __JUST_XPG3 */
#pragma token FUNC int (FILE *, char *, int, size_t) : setvbuf # ansi.stdio.setvbuf
#pragma token FUNC int (FILE *, const char *, __local_va_list) : vfprintf # ansi.stdio.vfprintf
#pragma token FUNC int (const char *, __local_va_list) : vprintf # ansi.stdio.vprintf
#pragma token FUNC int (char *, const char *, __local_va_list) : vsprintf # ansi.stdio.vsprintf
#endif /* __JUST_POSIX */

#pragma interface stdin stdout stderr BUFSIZ FILENAME_MAX FOPEN_MAX _IOFBF
#pragma interface _IOLBF _IONBF L_tmpnam
#pragma interface clearerr fclose feof ferror fflush fgetc fgets fopen fputc
#pragma interface fputs fread freopen fseek ftell fwrite getc getchar gets
#pragma interface perror putc putchar puts remove rewind setbuf tmpfile
#pragma interface tmpnam ungetc
#ifndef __JUST_POSIX
#ifndef __JUST_XPG3
#pragma interface fpos_t fgetpos fsetpos
#endif /* __JUST_XPG3 */
#pragma interface setvbuf vfprintf vprintf vsprintf
#endif /* __JUST_POSIX */

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_ANSI_STDIO_H */
