Make a directory lock the current directory
Source position: amigados.pas line 2221
function CurrentDir( |
Lock: Pointer |
):Pointer; |
Lock |
|
Lock to directory should become new current directory |
Pointer to a lock
CurrentDir() causes a directory associated with a lock to be made the current directory. The old current directory lock is returned.
A value of nil is a valid result here, this nil lock represents the root of file system that you booted from.
Any call that has to DosOpen() or Lock() files (etc.) requires that the current directory be a valid lock or nil.
|
Lock a directory or file |
|
|
Unlock a directory or file |
|
|
Open a file for input or output |
|
|
Duplicate a lock |