;
; Oliver Schmidt, 2005-08-30
;
; int __fastcall__ rmdir (const char* name);
;

        .export         _rmdir

        .import         __sysrmdir
        .import         oserrcheck


;--------------------------------------------------------------------------

.segment "LIBCODE"
.proc   _rmdir

        jsr     __sysrmdir      ; Call the machine specific function
        jmp     oserrcheck      ; Store into _oserror, set errno, return 0/-1

.endproc
