! warning: implicit declaration of function fileno fixed