aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Łyszczek <michal.lyszczek@bofc.pl>2018-09-26 20:52:06 +0200
committerMichał Łyszczek <michal.lyszczek@bofc.pl>2018-09-26 20:52:06 +0200
commit3cfd2e39a0496e7f6113566bc450661f0191b2cc (patch)
treef10dcdaa6ab2156224b5fc53bc54f607a55696ad
parent4cf3de451493ed187d8120a3afef3fd7d1f5ca33 (diff)
downloadlibrb-3cfd2e39a0496e7f6113566bc450661f0191b2cc.tar.gz
librb-3cfd2e39a0496e7f6113566bc450661f0191b2cc.tar.bz2
librb-3cfd2e39a0496e7f6113566bc450661f0191b2cc.zip
update: rb_write manual page
-rw-r--r--man/rb_write.310
1 files changed, 10 insertions, 0 deletions
diff --git a/man/rb_write.3 b/man/rb_write.3
index 57ea8e7..a052013 100644
--- a/man/rb_write.3
+++ b/man/rb_write.3
@@ -118,6 +118,16 @@ and then one thread that will parse it.
This way you can get rid of polling each interface for data, which will speed
up execution - check example below.
.PP
+It is valid for
+.BR rb_posix_write (3)
+to make early return with return value less than
+.I count
+elements.
+This will happen when internal
+.BR write ()
+returns zero, which may mean we read end of the file, or remote computer closed
+network connection.
+.PP
When multiple threads access single
.I rb
object, in blocking way, it is guaranteed that each thread will write continous