If you are looking for a termios interface in your application:
Code:
tcgetattr(fd, &options);
options.c_cc[VINTR] = 3; /* Ctrl-C */
options.c_lflag |= ISIG;
tcsetattr(fd, TCSANOW, &options);
this should work (
fd is the serial port file descriptor).
--- rod.