Added function declaration to io.h