summaryrefslogtreecommitdiff
path: root/src/pulsecore/iochannel.h
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2013-06-14 17:12:03 +0530
committerArun Raghavan <arun.raghavan@collabora.co.uk>2013-06-14 17:12:44 +0530
commit4e05333a93550dcc13ac58947397abd25db4eafd (patch)
tree8629080fdc69c60188d12e38e7c1ec6e171fca6d /src/pulsecore/iochannel.h
parent9c4dcffca5c7b31d7ff4ce77146ad87559bf70ef (diff)
iochannel: Document modified pa_iochannel_write return value
Diffstat (limited to 'src/pulsecore/iochannel.h')
-rw-r--r--src/pulsecore/iochannel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/iochannel.h b/src/pulsecore/iochannel.h
index f809f473e..ee3cd67d7 100644
--- a/src/pulsecore/iochannel.h
+++ b/src/pulsecore/iochannel.h
@@ -48,6 +48,8 @@ channel specify -1 for the other direction. */
pa_iochannel* pa_iochannel_new(pa_mainloop_api*m, int ifd, int ofd);
void pa_iochannel_free(pa_iochannel*io);
+/* Returns: length written on success, 0 if a retry is needed, negative value
+ * on error. */
ssize_t pa_iochannel_write(pa_iochannel*io, const void*data, size_t l);
ssize_t pa_iochannel_read(pa_iochannel*io, void*data, size_t l);