Hello,
In C-programming under D-Unix, is there a better way than the
following to get a single character from the keyboard
without waiting for Return ?
perhaps with iotcl() or tcsetattr() ?
int readkey() {
int c;
system("stty raw -echo");
c = getchar();
system("stty -raw echo");
return(c);
}
Thanks in advance,
Jean-Pol.Guillement_at_math.univ-nantes.fr
Received on Mon Sep 21 1998 - 15:19:57 NZST