I'm trying to read from the standard input and I'd like to avoid displaying expressions such as ^C or ^D when pressing ctrl+C .... I'm only allowed to use tcsetattr and tcgetattr functions.
int main() {
while(1) {};
}
I'm trying to read from the standard input and I'd like to avoid displaying expressions such as ^C or ^D when pressing ctrl+C .... I'm only allowed to use tcsetattr and tcgetattr functions.
int main() {
while(1) {};
}