[pulseaudio-commits] src/pulsecore

Arun Raghavan arun at kemper.freedesktop.org
Fri Jun 14 04:57:11 PDT 2013


 src/pulsecore/iochannel.h |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 4e05333a93550dcc13ac58947397abd25db4eafd
Author: Arun Raghavan <arun.raghavan at collabora.co.uk>
Date:   Fri Jun 14 17:12:03 2013 +0530

    iochannel: Document modified pa_iochannel_write return value

diff --git a/src/pulsecore/iochannel.h b/src/pulsecore/iochannel.h
index f809f47..ee3cd67 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);
 



More information about the pulseaudio-commits mailing list