2020-08-02 12:19:43 +00:00
|
|
|
|
NEW
|
|
|
|
|
AUTO 3,1
|
|
|
|
|
|
|
|
|
|
#DEFINE O_RDONLY 1
|
|
|
|
|
#DEFINE O_WRONLY 2
|
|
|
|
|
#DEFINE O_RDWR 3
|
|
|
|
|
#DEFINE O_TRUNC 4
|
|
|
|
|
#DEFINE O_APPEND 8
|
|
|
|
|
#DEFINE O_TEXT 64
|
|
|
|
|
#DEFINE O_CREATE 128
|
|
|
|
|
|
|
|
|
|
fastcall int putchar(short int);
|
|
|
|
|
// int fputc ( hFILE stream , short int character );
|
|
|
|
|
fastcall int puts(const char*);
|
2020-08-26 15:25:58 +00:00
|
|
|
|
int fputs (short int, const char*);
|
2020-08-02 12:19:43 +00:00
|
|
|
|
// char *fgets(hFILE stream, char * s, int n);
|
|
|
|
|
short int getchar();
|
|
|
|
|
fastcall short int getc(short int);
|
|
|
|
|
// short int ungetc(short int c, short int );
|
|
|
|
|
|
|
|
|
|
short int fopen( const char*,short int,short int,int);
|
|
|
|
|
int fclose(short int);
|
|
|
|
|
// int fread (short int stream, void * ptr, int count );
|
|
|
|
|
// int fwrite (short int stream, const void * ptr, int count );
|
|
|
|
|
fastcall int fflush(short int);
|
|
|
|
|
// int fseek( short int stream, long offset, short int whence );
|
|
|
|
|
fastcall int feof(short int);
|
|
|
|
|
fastcall long ftell(short int);
|
|
|
|
|
fastcall int remove(const char*);
|
|
|
|
|
int rename(const char*,const char*);
|
|
|
|
|
|
|
|
|
|
int printf(const char*,...);
|
|
|
|
|
int fprintf(short int,const char*,...);
|
|
|
|
|
int sprintf(char*,const char*,...);
|
|
|
|
|
|
|
|
|
|
int scanf(const char*,...);
|
|
|
|
|
int fscanf(short int,const char*,...);
|
|
|
|
|
int sscanf(const char*,const char*,...);
|
|
|
|
|
|
|
|
|
|
MAN
|
|
|
|
|
TEXT include/stdio.h
|