Home  /  Autodocs  /  dos.library

NAME

GetCurrentDir
Return the Lock of the current directory (V47)

SYNOPSIS

lock = GetCurrentDir(void)
D0

BPTR GetCurrentDir()

FUNCTION

This function returns the Lock that represents the current directory of the Process.

RESULT

lock
Lock representing the current directory. NULL (0) does not represent an error, but the Lock to the root directory of the boot file system.

SEE ALSO

CurrentDir()