Added myfgets prototype