io.c changes to return value