[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'amigados' (#aros)

DOSCreateDir

Create a new directory

Declaration

Source position: amigados.pas line 2264

function DOSCreateDir(

  const Name: STRPTR

):BPTR;

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: 2017-01-10