1Fermer3
FarewellLe 02/08/2009 à 20:49
[nosmile]Something like that would be good ?
pedrom::stdin		equ	pedrom@0000
pedrom::stdout		equ	pedrom@0000+4
pedrom::stderr		equ	pedrom@0000+8

variables

pedrom::printf equ pedrom@0004
args are on the stack : format, args, ...
pedrom::vcbprintf equ pedrom@0005
vcbprintf (short (*callback)(short,FILE *), FILE *p, const char *fmt, va_list args)
(from printf.c, line 225)
pedrom::clrscr equ pedrom@0006
no args
pedrom::fclose equ pedrom@0007
__ATTR_REG__ short fclose(FILE *f)
(from files.c, line 56)
pedrom::freopen equ pedrom@0008
__ATTR_REG__ FILE *freopen(const char *name, const char *mode, FILE *f)
(from files.c, line 75)
pedrom::fopen equ pedrom@0009
__ATTR_REG__ FILE *fopen(const char *name, const char *mode)
(from files.c, line 178)
pedrom::fseek equ pedrom@000a
__ATTR_REG__ short fseek(FILE *f, long offset, short wh)
(from files.c, line 187)
pedrom::ftell equ pedrom@000b
__ATTR_REG__ long ftell(FILE *f)
(from files.c, line 219)
pedrom::feof equ pedrom@000c
__ATTR_REG__ short feof(const FILE *f)
(from files.c, line 228)
pedrom::fputc equ pedrom@000d
__ATTR_STK__ short fputc(short c, FILE *f)
(from files.c, line 237)