comparison docs/ccguide/mknod.refentry @ 602:42b2c775f05f

All refentries finished.
author roug
date Fri, 15 Nov 2002 21:49:51 +0000
parents 253b6096ee01
children
comparison
equal deleted inserted replaced
601:8b8736b66631 602:42b2c775f05f
24 </para> 24 </para>
25 </refsect1> 25 </refsect1>
26 26
27 <refsect1><title>Description</title> 27 <refsect1><title>Description</title>
28 <para> 28 <para>
29 Placeholder 29 This call may be used to create a new directory. "Fname"
30 should point to a string containing the desired name of the
31 directory. "Desc" is a descriptor specifying the desired mode
32 (file type) and permissions of the new file.
30 </para> 33 </para>
34 <para>
35 The include file defines the possible values for "desc" as
36 follows:
37 </para>
38 <programlisting>
39 #define S_IREAD 0x01 /* owner read */
40 #define S_IWRITE 0x02 /* owner write */
41 #define S_IEXEC 0x04 /* owner execute */
42 #define S_IOREAD 0x08 /* public read */
43 #define S_IOWRITE 0x10 /* public write */
44 #define S_IOEXEC 0x20 /* public execute */
45 #define S_ISHARE 0x40 /* sharable */
46 </programlisting>
31 </refsect1> 47 </refsect1>
48
32 <refsect1><title>Diagnostics</title> 49 <refsect1><title>Diagnostics</title>
33 <para> 50 <para>
34 Zero is returned if the directory has been successfully made; 51 Zero is returned if the directory has been successfully made;
35 -1 if the file already exists. 52 -1 if the file already exists.
36 </para> 53 </para>
37 </refsect1> 54 </refsect1>
38 55
56 <refsect1><title>See Also</title>
57 <para>
58 OS-9 command "makdir"
59 </para>
60 </refsect1>
39 </refentry> 61 </refentry>