autodoc.git/
traditional_manual/
chapter_9.html
Branch:
Tag:
Non-build tags
All tags
No tags
2020-06-10
2020-06-10 21:48:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>
32f88f6e9411f5a4100351a160dff9b6e305513c (
30
lines) (+
30
/-
0
)
[
Show
|
Annotate
]
Branch:
master
Stdio.Fd: Convert read() into a PIKEFUN.
130:
<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>
275:
<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>