Hi, On Mon, Jan 28, 2019 at 09:34:59PM -0800, Prashant Malani wrote: > Can I duplicate this in arecordmidi.c ? I'm loath to introduce a > header, and then refactor axfer/main.c. I don't mind it. When parsing string with non-numeric characters, the behaviour of atoi() is undefined still in C11. $ cd alsa-utils.git $ git grep atoi | grep optarg | wc 39 158 1919 Mmm... Many parts are written without enough care of the undefined behaviour... Thanks Takashi Sakamoto _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel