EasyManua.ls Logo

Atari ST series - Page 275

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