[alsa-devel] [PATCH 2/2 v2] crec: Add primitive exception handling

Mark Brown broonie at kernel.org
Tue Dec 3 21:18:28 CET 2013


On Tue, Dec 03, 2013 at 06:22:56PM +0000, Mark Brown wrote:

> You can't safely do most of this such as calling fclose() from within a
> signal handler, the set of functions that are guaranteed safe is quite
> limited - see signal(7).

I should also have mentioned that it looks like you're probably looking
for setvbuf() with _IONBF.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20131203/57f6f21d/attachment.sig>


More information about the Alsa-devel mailing list