Unit 'AmigaDOS' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

dosCreateDir

Creates a new directory under the given name.

Declaration

Source position: amigados.pas line 1685

function dosCreateDir(

  dname: PChar

):LongInt;

Function result

Exclusive lock to the new directory or 0 if couldn't be created. IoErr() gives additional information in that case.

Description

Creates a new directory under the given name. If all went an exclusive lock on the new diretory is returned.


Documentation generated on: 2021-07-30