mirror of
https://github.com/cc65/cc65.git
synced 2024-12-26 08:32:00 +00:00
21 lines
435 B
ArmAsm
21 lines
435 B
ArmAsm
|
;
|
||
|
; Oliver Schmidt, 2005-08-30
|
||
|
;
|
||
|
; int __fastcall__ rmdir (const char* name);
|
||
|
;
|
||
|
|
||
|
.export _rmdir
|
||
|
|
||
|
.import __sysrmdir
|
||
|
.import oserrcheck
|
||
|
|
||
|
|
||
|
;--------------------------------------------------------------------------
|
||
|
|
||
|
.proc _rmdir
|
||
|
|
||
|
jsr __sysrmdir ; Call the machine specific function
|
||
|
jmp oserrcheck ; Store into _oserror, set errno, return 0/-1
|
||
|
|
||
|
.endproc
|