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
|
2022-08-28 19:52:53 +00:00
|
|
|
.import ___mappederrno
|
2005-08-31 20:11:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
;--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
.proc _mkdir
|
|
|
|
|
|
|
|
jsr __sysmkdir ; Call the machine specific function
|
2022-08-28 19:52:53 +00:00
|
|
|
jmp ___mappederrno ; Store into __oserror, set errno, return 0/-1
|
2005-08-31 20:11:45 +00:00
|
|
|
|
|
|
|
.endproc
|