fixing #18293, adding more informations about mode

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@110231 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nicolas Chaillan 2003-01-03 19:58:58 +00:00
parent cacd5a3e88
commit ddcde85408

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.39 -->
<refentry id="function.mkdir">
<refnamediv>
@ -11,7 +11,7 @@
<methodsynopsis>
<type>int</type><methodname>mkdir</methodname>
<methodparam><type>string</type><parameter>pathname</parameter></methodparam>
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
<methodparam>[<type>int</type><parameter>mode</parameter>]</methodparam>
</methodsynopsis>
<para>
Attempts to create the directory specified by pathname.
@ -21,6 +21,13 @@
octal number, which means it should have a leading zero.
The mode is also modified by the current umask, which you
can change using <function>umask</function>.
Mode is NOT needed on Windows.
Please note also that mode is optional and that
it is by default '0777' (read, write and execution for EVERY
access). If you need more informations about mode under
UNIX systems, please read 'man 1 chmod' and 'man 2 chmod'.
<informalexample>
<programlisting role="php">
<![CDATA[