linux_old1/tools/iio
Hartmut Knaack dc8b5d6e63 tools:iio:iio_utils: check amount of matches
fscanf() usually returns the number of input items successfully matched
and assigned, which can be fewer than provided (or even zero).
Add a check in iioutils_get_type() to make sure all items are matched.

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-05-31 17:42:34 +01:00
..
Makefile iio: make tools more cross-compilation friendly 2015-05-10 20:31:45 +01:00
generic_buffer.c tools:iio:generic_buffer: sign-extend and shift data 2015-05-31 17:42:32 +01:00
iio_event_monitor.c tools:iio:iio_event_monitor: save right errno 2015-05-31 17:34:05 +01:00
iio_utils.c tools:iio:iio_utils: check amount of matches 2015-05-31 17:42:34 +01:00
iio_utils.h iio: Move iio userspace applications out of staging 2015-03-09 17:16:08 +00:00
lsiio.c tools:iio:lsiio: add closedir before exit 2015-05-31 17:30:29 +01:00