Dcreate()
This function is used to create a new subdirectory.
C macro format
int status;
char ^pathname;
status = Dcreate(pathname);
Machine language format
move.l
pathname, - (sp)
move.w
#$39, - (sp)
#1
trap
addq.l
#6,sp
Inputs
pathname
long
Results
D O
status
word
See also
Ddelete()
Dcreate
Create Directory
A pointer to a null-terminated ASCII di
rectory path string (for instance, C:\NEW-
DIR
).
A 0 means that the directory was created without
problem, otherwise a negative GEMDOS error num
ber is returned.
Opcode = 57 ($39)
267