EOF representation


I would like to know if the EOF representation has been disabled from not aborting the specific procedure to being enabled to abort the program abruptly. If not, how would you end a specific procedure (such as when reading characters from the console) without aborting the entire program?