iochannel: Document modified pa_iochannel_write return value

This commit is contained in:
Arun Raghavan 2013-06-14 17:12:03 +05:30
parent 9c4dcffca5
commit 4e05333a93

View file

@ -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);