Is there an equivalent of getch() function in Mac?

Viewed 399

I am not able to find the equivalent header file for conio.h (for C programs) in Mac.

I was wondering if there is any option for getch() function in Mac?

I want to use it such that user can give options and program will go forward without pressing enter.

1 Answers

You probably want to look at ncurses. It has a lot in common with conio. You can get its documentation with "man ncurses".

Related