Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#aros]

DOSCreateDir

Create a new directory

Declaration

Source position: amigados.pas line 2220

function DOSCreateDir(

  const Name: PChar

):Pointer;

Arguments

Name

  

Name of new directory

Function result

Pointer to a lock if success, if not nilIoErr() gives additional information in that case.

Description

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.

See also

Lock

  

Lock a directory or file

UnLock

  

Unlock a directory or file


Documentation generated on: 2021-07-30