diff stdio.h @ 282:d61cf7a9b469

first jmp in MIPS
author kono
date Mon, 24 May 2004 07:37:42 +0900
parents affb054fe920
children 179e22f166ef
line wrap: on
line diff
--- a/stdio.h	Sun May 23 17:01:10 2004 +0900
+++ b/stdio.h	Mon May 24 07:37:42 2004 +0900
@@ -1,4 +1,4 @@
-#ifndef __micro_c__aaa
+#ifndef __micro_c__
 #include "/usr/include/stdio.h"
 long long strtoll(const char *, char **, int);
 #else
@@ -47,7 +47,7 @@
 #define	EOF	(-1)
 #define	NULL	0
 
-typedef int size_t;
+typedef int SIZE_T_;
 typedef /*long*/ int fpos_t;
 typedef void *__gnuc_va_list;
  
@@ -65,7 +65,7 @@
 int	 fpurge();
 int	 fputc(int, FILE *);
 int	 fputs(const char *, FILE *);
-size_t	 fread(void *, size_t, size_t, FILE *);
+SIZE_T_	 fread(void *, size_t, size_t, FILE *);
 int	 fscanf(FILE *, const char *, ...);
 
 /* int	 fseek(FILE *, long int, int); */
@@ -74,7 +74,7 @@
 long	 ftell(FILE *);
 int	 ftrylockfile();
 void	 funlockfile();
-size_t	 fwrite(const void *, size_t, size_t, FILE *);
+SIZE_T_	 fwrite(const void *, size_t, size_t, FILE *);
 int	 getc(FILE *);
 int	 getc_unlocked();
 int	 getchar(void);
@@ -96,7 +96,7 @@
 void	 setbuf(FILE *, char *);
 void	 setbuffer();
 int	 setlinebuf();
-int	 setvbuf(FILE *, char *, int, size_t);
+int	 setvbuf(FILE *, char *, int, SIZE_T_);
 int	 snprintf();
 int	 sprintf(char *, const char *, ...);
 int	 sscanf(const char *, const char *, ...);