2005-08-31 20:11:45 +00:00
|
|
|
;
|
|
|
|
; Oliver Schmidt, 2005-08-30
|
|
|
|
;
|
2013-05-09 11:56:54 +00:00
|
|
|
; int mkdir (const char* name, ...); /* May take a mode argument */
|
2005-08-31 20:11:45 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
.export _mkdir
|
|
|
|
|
|
|
|
.import __sysmkdir
|
2010-06-10 18:10:53 +00:00
|
|
|
.import __mappederrno
|
2005-08-31 20:11:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
;--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
.proc _mkdir
|
|
|
|
|
|
|
|
jsr __sysmkdir ; Call the machine specific function
|
2010-06-10 18:10:53 +00:00
|
|
|
jmp __mappederrno ; Store into _oserror, set errno, return 0/-1
|
2005-08-31 20:11:45 +00:00
|
|
|
|
|
|
|
.endproc
|