I was recently porting a Windows app to FreeBSD, and I realised that the getch() function is not available in UNIX.
In the FAQ board it says that there is no UNIX equivalent to getch() from conio.h and gives a code snippet to use instead.
I succesfully replaced all occurences of getch() with getchar() from stdio.h with no problems.
I'm sure there must be a difference, otherwise kermi3 wouldn't have said what he did. Can anyone tell me the difference, and why getchar() is not a direct equivalent of getch()?