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
|
2022-08-28 19:52: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
|
2022-08-28 19:52:53 +00:00
|
|
|
jmp ___mappederrno ; Store into __oserror, set errno, return 0/-1
|
2003-06-02 16:10:54 +00:00
|
|
|
|
|
|
|
.endproc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|