getf() non l'ho mai utilizzata...
fgets
..come terzo parametro ci metti stdin ..