On Wed, Jul 27 2016, Tomohiro Kusumi wrote: > Return type of fio_getaffinity() isn't consistent among supported OS. > Windows and DragonFlyBSD return void while FreeBSD version is int. > The default version for those that don't support is do{}while(0). > > Linux version is a macro for sched_getaffinity(2) which returns 0 > on success and -1 otherwise, so others should basically follow that. > > Note that I haven't compiled this on Windows, but it shouldn't fail. Thanks, applied this and the rest, except for the one I commented on. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html