Create a new directory
Source position: amigados.pas line 2220
function DOSCreateDir( |
const Name: PChar |
):Pointer; |
Name |
|
Name of new directory |
Pointer to a lock if success, if not nilIoErr() gives additional information in that case.
DOSCreateDir() creates a new directory with the specified name. An error is returned if it fails. Directories can only be created on devices which support them, e.g. disks. Returns an exclusive lock on the new directory if it succeeds.
|
Lock a directory or file |
|
|
Unlock a directory or file |