Atari ST series Technical Reference Manual page 277

Hide thumbs Also See for ST series:
Table of Contents

Advertisement

Set Default Directory Path
Dsetpath()
This function is used to set a default directory on a drive, which is where
GEMDOS will search first for a named file.
C macro format
int status;
char *path;
status = Dsetpath(path)
Machine language format
move.l
path, - (sp)
move.w
#$3B, - (sp)
trap
#1
addq.l
#6,sp
Inputs
path
long
Results
D O
status
word
See also
Dgetpath()
Dsetpath
A pointer to a null-terminated ASCII di­
rectory path string (for instance,
WORDPRC\LETTERS\FRED).
name begins with a drive letter and a co­
lon, the path is set for that drive rather
than the current default drive (for in­
stance,
A 0 means that the directory was selected without
problem, otherwise a negative GEMDOS error num­
ber is returned.
Opcode = 59 ($3B)
C:\DATABASE\CLIENTS).
If the path
269

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents