mirror of
https://github.com/cc65/cc65.git
synced 2026-04-25 06:17:58 +00:00
New stuff contributed by Oliver Schmidt
git-svn-id: svn://svn.cc65.org/cc65/trunk@3608 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
;
|
||||
; Oliver Schmidt, 2005-08-30
|
||||
;
|
||||
; int mkdir (const char* name, ...); /* May take a mode argument */
|
||||
;
|
||||
|
||||
.export _mkdir
|
||||
|
||||
.import __sysmkdir
|
||||
.import oserrcheck
|
||||
|
||||
|
||||
;--------------------------------------------------------------------------
|
||||
|
||||
.proc _mkdir
|
||||
|
||||
jsr __sysmkdir ; Call the machine specific function
|
||||
jmp oserrcheck ; Store into _oserror, set errno, return 0/-1
|
||||
|
||||
.endproc
|
||||
Reference in New Issue
Block a user