typedef	struct {
	/* this is all wrong, but so what? */
	char	pad[96];	
} FILE;


extern FILE __sstdin;
extern FILE __sstdout;
extern FILE __sstderr;

#define	stdin	(&__sstdin)
#define	stdout	(&__sstdout)
#define	stderr	(&__sstderr)
#define	BUFSIZ	1024		/* size of buffer used by setbuf */
#define	EOF	(-1)
#define	NULL	0

typedef int size_t;

void	 clearerr();
int	 fclose();
int	 feof();
int	 ferror();
int	 fflush();
int	 fgetc();
int	 fgetpos();
int	 fileno();
void	 flockfile();
int	 fprintf();
int	 fpurge();
int	 fputc();
int	 fputs();
size_t	 fread();
int	 fscanf();
int	 fseek();
int	 fsetpos();
long	 ftell();
int	 ftrylockfile();
void	 funlockfile();
size_t	 fwrite();
int	 getc();
int	 getc_unlocked();
int	 getchar();
int	 getchar_unlocked();
int	 getw();
int	 pclose();
void	 perror();
int	 printf();
int	 putc();
int	 putc_unlocked();
int	 putchar();
int	 putchar_unlocked();
int	 puts();
int	 putw();
int	 remove();
int	 rename ();
void	 rewind();
int	 scanf();
void	 setbuf();
void	 setbuffer();
int	 setlinebuf();
int	 setvbuf();
int	 snprintf();
int	 sprintf();
int	 sscanf();
int	 ungetc();
int	 vfprintf();
int	 vfscanf();
int	 vprintf();
int	 vscanf();
int	 vsnprintf();
int	 vsprintf();
int	 vsscanf();
char	*ctermid();
FILE	*fdopen();
char	*fgetln();
char	*fgets();
FILE	*fopen();
FILE	*freopen();
FILE	*funopen();
char	*gets();
FILE	*popen();
char	*tempnam();
FILE	*tmpfile();
char	*tmpnam();