On Fri, Apr 10, 2015 at 11:49 AM, Jonathan Cameron <jic23@xxxxxxxxxx> wrote: > Hit google > http://pubs.opengroup.org/onlinepubs/009695399/functions/seekdir.html > So for POSIX compliance they are optional. You mean seekdir(dp, 0); in function inline int build_channel_array(...) is optional?If I comment it, will it have no effect? This function is called inside main() of generic_buffer.c and I cant get it compiled with the tool chain I have.Is there any alternate code I can replace it with if it is Not Optional? I can take care of le16toh/be16toh. Thanks and Rgds, S -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html