summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/libstddjb/djbunix.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/libstddjb/djbunix.html b/doc/libstddjb/djbunix.html
index ce34d25..e253376 100644
--- a/doc/libstddjb/djbunix.html
+++ b/doc/libstddjb/djbunix.html
@@ -152,7 +152,7 @@ Safe wrapper around
</p>
<p>
-<code> int fd_cat (int from, int to) </code> <br />
+<code> off_t fd_cat (int from, int to) </code> <br />
Synchronously copies data from fd <em>from</em> to fd <em>to</em>,
until it encounters EOF or an error. Returns -1 (and sets errno) if
it fails; returns the number of transmitted bytes if it gets an EOF.
@@ -170,7 +170,7 @@ in Linux 2.6.17 and later </li>
</ul>
<p>
-<code> size_t fd_catn (int from, int to, size_t n) </code> <br />
+<code> off_t fd_catn (int from, int to, off_t n) </code> <br />
Synchronously copies at most <em>n</em> bytes from fd <em>from</em> to fd <em>to</em>.
Returns the total number of transmitted bytes; sets errno if this number
is lesser than <em>n</em>. EOF is reported as EPIPE. See above for zero-copy