1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-08 06:25:17 +00:00

Fixed a bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@2418 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-08-27 09:48:10 +00:00
parent 1c2bea7c13
commit fe37c38972
3 changed files with 4 additions and 6 deletions

View File

@@ -2143,8 +2143,6 @@ associated with it. On error, -1 is returned and an error code is stored in
<item>POSIX specifies an additional <tt/mode/ argument that may be passed to <item>POSIX specifies an additional <tt/mode/ argument that may be passed to
open, which is used as the permission mask when a new file is created. While open, which is used as the permission mask when a new file is created. While
cc65 allows to pass this argument, it is ignored. cc65 allows to pass this argument, it is ignored.
<item>The function is only available as fastcall function, so it may only
be used in presence of a prototype.
</itemize> </itemize>
<tag/Availability/POSIX <tag/Availability/POSIX
<tag/See also/ <tag/See also/

View File

@@ -1,4 +1,4 @@
; ;
; Ullrich von Bassewitz, 22.11.2002 ; Ullrich von Bassewitz, 22.11.2002
; ;
; FILE* __fastcall__ _fopen (const char* name, const char* mode, FILE* f); ; FILE* __fastcall__ _fopen (const char* name, const char* mode, FILE* f);
@@ -23,7 +23,7 @@
.proc __fopen .proc __fopen
sta file sta file
stx file ; Save f stx file+1 ; Save f
; Get a pointer to the mode string ; Get a pointer to the mode string
@@ -76,7 +76,7 @@ invmode:
jmp incsp4 jmp incsp4
; Mode string successfully parsed. Store the binary mode onto the stack in ; Mode string successfully parsed. Store the binary mode onto the stack in
; the same place where the mode string pointer was before. The call open() ; the same place where the mode string pointer was before. Then call open()
modeok: ldy #$00 modeok: ldy #$00
txa ; Mode -> A txa ; Mode -> A

View File

@@ -49,7 +49,7 @@
/* If the standard library search path is not given, use a hardcoded one */ /* If the standard library search path is not given, use a hardcoded one */
#ifndef CC65_LIB #ifndef CC65_LIB
#define CC65_LIB "/usr/lib/cc65/lib/"; #define CC65_LIB "/usr/lib/cc65/lib/"
#endif #endif