[En-Nut-Discussion] unblocking get char
ayman.hendawy at gmail.com
Wed Oct 10 22:34:20 CEST 2012
I need to add a function that not locking until the user input char through
standard input, by another meaning using getchar(); function will lock the
thread until the user enter a char, I need the opposite that if the user
was keep pressing a certain char, it will get that char if not, the
execution will keep running without any blocking.
like getchar_unlocked() function.
like when open a windows system, if you keep press on a certain key you
will enter setup mode.
Kindly advice, Thanks
Embedded system engineer
More information about the En-Nut-Discussion