DL Logo

ASFileSys Functions

ASFileSysGetDefaultTempPath

Header: PDFLProcs.h:159

Description

Gets the default temporary path that was set by ASFileSysSetDefaultTempPath().

Syntax

ASPathName ASFileSysGetDefaultTempPath(ASFileSys fileSys);

Parameters

fileSys
The file system in which the ASPathname is set.

Returns

The ASPathName if the operation was successful, NULL otherwise.

ASFileSysSetDefaultTempPath

Header: PDFLProcs.h:148

Description

Sets the default temporary path for the specified file system to the specified path name. The method copies the passed pathname object on success; the client is responsible for releasing the object when it is no longer needed, using ASFileSysReleasePath().

Pass a pathname of NULL to reset the default temporary path to the file system default.

Syntax

ASBool ASFileSysSetDefaultTempPath(ASFileSys fileSys, ASPathName pathName);

Parameters

fileSys
(May be NULL) The file system in which to set the default temporary path.
pathName
The path name for the new default temporary path, or NULL to reset to the file system default.

Returns

false if the path provided is not writable, true otherwise.