autodoc.git
/
traditional_manual
/
chapter_9.html
version
»
Context lines:
10
20
40
80
file
none
3
autodoc.git/traditional_manual/chapter_9.html:123:
<dd class='body--doc'><p>Returns <code class='expr'>0</code> (zero) on failure, <code class='expr'>1</code> otherwise.</p> </dd> <dt class='head--doc'>See also</dt> <dd class='body--doc'><p><code>rm()</code>, <code>cd()</code>, <code>Stdio.mkdirhier()</code></p> </dd></dl> <hr /> <dl class='group--doc'> <dt class='head--type'><span class='homogen--type'>Method</span>
-
<span class='homogen--name'><b>cp</b></span>
-
</dt>
-
<dd><p><code><code class='datatype'>int</code> <b><span class='method'>cp</span>(</b><code class='datatype'>string</code> <code class='argument'>from</code>, <code class='datatype'>string</code> <code class='argument'>to</code><b>)</b></code></p></dd>
-
-
<dt class='head--doc'>Description</dt>
-
<dd class='body--doc'><p>Copies the file <code>from</code> to the new position <code>to</code>. This is an
-
alias for <code>Stdio.cp</code>.</p>
-
</dd></dl>
-
-
-
<hr />
-
<dl class='group--doc'>
-
<dt class='head--type'><span class='homogen--type'>Method</span>
+
<span class='homogen--name'><b>mv</b></span> </dt> <dd><p><code><code class='datatype'>int</code> <b><span class='method'>mv</span>(</b><code class='datatype'>string</code> <code class='argument'>from</code>, <code class='datatype'>string</code> <code class='argument'>to</code><b>)</b></code></p></dd> <dt class='head--doc'>Description</dt> <dd class='body--doc'><p>Rename or move a file or directory.</p> <p> If the destination already exists, it will be replaced. Replacement often only works if <code>to</code> is of the same type as <code>from</code>, i.e. a file can only be replaced by another file and so on. Also, a directory will commonly be replaced only if it's
autodoc.git/traditional_manual/chapter_9.html:281:
front of absolute paths). <code>combine_path_amigaos()</code> concatenates according to AmigaOS filesystem conventions.</p> <p> <code>combine_path()</code> is equivalent to <code>combine_path_unix()</code> on UNIX-like operating systems, and equivalent to <code>combine_path_nt()</code> on NT-like operating systems, and equivalent to <code>combine_path_amigaos()</code> on AmigaOS-like operating systems.</p> </dd> <dt class='head--doc'>See also</dt> <dd class='body--doc'><p><code>getcwd()</code>, <code>Stdio.append_path()</code></p> </dd></dl>
-
-
-
<hr />
-
<dl class='group--doc'>
-
<dt class='head--type'><span class='homogen--type'>Method</span>
-
<span class='homogen--name'><b>explode_path</b></span>
-
</dt>
-
<dd><p><code><code class='datatype'>array</code>(<code class='datatype'>string</code>) <b><span class='method'>explode_path</span>(</b><code class='datatype'>string</code> <code class='argument'>p</code><b>)</b></code></p></dd>
-
-
<dt class='head--doc'>Description</dt>
-
<dd class='body--doc'><p>Split a path <code>p</code> into its components.</p>
-
<p> This function divides a path into its components. This might seem like
-
it could be done by dividing the string on <tt>"/"</tt>, but that will
-
not work on some operating systems. To turn the components back into
-
a path again, use <code>combine_path()</code>.</p>
-
</dd></dl>
+
</dd> <dt><a name='9.3'></a> <h2 class='header'>9.3. Status</h2></dt> <dd> <hr /> <dl class='group--doc'> <dt class='head--type'><span class='homogen--type'>Method</span> <span class='homogen--name'><b>file_stat</b></span> </dt>