IO.mkdir(3kaya)
NAME
IO::mkdir - Makes a directory.
SYNOPSIS
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.
DESCRIPTION
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.
AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others
(kaya@kayalang.org). 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.
RELATED
- IO.Permissions (3kaya)