1IO.mkdir(3kaya) Kaya module reference IO.mkdir(3kaya)
2
3
4
6 IO::mkdir - Makes a directory.
7
9 Void mkdir( String dname, Permissions mode=Permissions([ReadP, WriteP,
10 ExecuteP], [ReadP, WriteP, ExecuteP], [ReadP, WriteP, ExecuteP], false,
11 false, false) )
12
14 dname The directory name
15
16 mode The permissions to set. This is optional, and if omitted will
17 default to setting all access permissions allowed by the current
18 process umask, but will not set the setUID, setGID, or sticky bit. On
19 Windows, this parameter is ignored completely as the file permissions
20 system is very different.
21
23 Makes a directory, throwing a IO.FileError (3kaya) Exception if cre‐
24 ation fails. The permissions set will be affected by the current
25 process umask (see the mkdir(2) man page) on Posix systems.
26
28 Kaya standard library by Edwin Brady, Chris Morris and others
29 (kaya@kayalang.org). For further information see http://kayalang.org/
30
32 The Kaya standard library is free software; you can redistribute it
33 and/or modify it under the terms of the GNU Lesser General Public
34 License (version 2.1 or any later version) as published by the Free
35 Software Foundation.
36
38 IO.Permissions (3kaya)
39
40
41
42Kaya December 2010 IO.mkdir(3kaya)