[alsa-devel] [PATCH 1/1] seq: arecordmidi: Add num-events option

Clemens Ladisch clemens at ladisch.de
Tue Jan 29 17:18:05 CET 2019


Takashi Sakamoto wrote:
> When parsing string with non-numeric characters, the behaviour of
> atoi() is undefined still in C11.

A completely non-numeric string is specified to return zero.

The behaviour is undefined only if the value cannot be represented, i.e.,
if it overflows.


Regards,
Clemens


More information about the Alsa-devel mailing list