IO.mkdir(3kaya)

IO.mkdir3kaya

Makes a directory.

Usage

Void mkdir( String dname, Permissions mode=Permissions([ReadP, WriteP, ExecuteP], [ReadP, WriteP, ExecuteP], [ReadP, WriteP, ExecuteP], false, false, false) )

Arguments

dname The directory name

mode The permissions to set. This is optional, and if omitted will default to setting all access permissions allowed by the current process umask, but will not set the setUID, setGID, or sticky bit. On Windows, this parameter is ignored completely as the file permissions system is very different.

Overview

Makes a directory, throwing a IO.FileError (3kaya) Exception if creation fails. The permissions set will be affected by the current process umask (see the mkdir(2) man page) on Posix systems.

Releases

4 releases since Debian 5.0 (Lenny); the text changed 3 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8

Authors

Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/

License

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

From kaya 0.4.4-6.2 in Debian 8 (Jessie). Parsed by carta from the page's man source.