2003-06-02 16:10:54 +00:00
|
|
|
;
|
2003-08-12 13:06:43 +00:00
|
|
|
; Ullrich von Bassewitz, 2003-08-12
|
2003-06-02 16:10:54 +00:00
|
|
|
;
|
|
|
|
; int __fastcall__ remove (const char* name);
|
|
|
|
;
|
|
|
|
|
|
|
|
.export _remove
|
|
|
|
|
|
|
|
.import __sysremove
|
2010-06-10 18:10:53 +00:00
|
|
|
.import __mappederrno
|
2003-06-02 16:10:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
;--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
.proc _remove
|
|
|
|
|
2003-08-12 13:06:43 +00:00
|
|
|
jsr __sysremove ; Call the machine specific function
|
2010-06-10 18:10:53 +00:00
|
|
|
jmp __mappederrno ; Store into _oserror, set errno, return 0/-1
|
2003-06-02 16:10:54 +00:00
|
|
|
|
|
|
|
.endproc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|