From 4e05333a93550dcc13ac58947397abd25db4eafd Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Fri, 14 Jun 2013 17:12:03 +0530 Subject: [PATCH] iochannel: Document modified pa_iochannel_write return value --- src/pulsecore/iochannel.h | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.7.4