>Perhaps only because error will be returned on next call and taken for
>granted that a partial transfer definitely imply a next call, they have
>considered the early return of error a little benefit.

not that we have that problem, but this design really screwed up
multithreaded programs too, because of assumptions about the
"globalness" of errno. the hack used in linuxthreads is about as
disgusting as they get.

despite this, i prefer your solution (return 0, < 0; store frames
committed in passed in pointer, or don't if NULL).

--p

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to