2 ; Ullrich von Bassewitz, 22.11.2002
4 ; FILE* __fastcall__ fopen (const char* name, const char* mode)
10 .import __fopen, __fdesc
11 .import pushax, return0
16 ; ------------------------------------------------------------------------
21 ; Bring the mode parameter on the stack
25 ; Allocate a new file stream
29 ; Check if we have a stream
36 ; Failed to allocate a file stream
45 ; Open the file and return the file descriptor. All arguments are already
46 ; in place: name and mode on the stack, and f in a/x