![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Exiting from script when error occurs | Sreejith_VK | Shell Programming and Scripting | 4 | 04-25-2008 04:53 AM |
| How to catch the output | rpraharaj | Shell Programming and Scripting | 4 | 02-29-2008 09:47 AM |
| Problem with handling SIGINT | JamesGoh | High Level Programming | 3 | 02-24-2008 10:39 PM |
| TO find the word which occurs maximum number of times | aajan | Shell Programming and Scripting | 5 | 01-11-2008 04:11 AM |
| error occurs while some users login | rrlog | HP-UX | 0 | 08-12-2007 05:55 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Cannot catch SIGINT while serial break condition occurs
I setup termios structure with IGNBRK is not set and BRKINT is set.
To allow the process to receive signals I call: fcntl(fd, F_SETOWN, getpid()); I have made a signal handler to catch all signals. I can catch SIGINT when pressing ctrl+c but when I send break signal over serial then it cannot catch SIGINT. Is there anything I'm doing wrong? Any suggestions and code samples would be appreciated. Thanks |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|