![]() |
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 |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| catching a signal from child process | emil2006 | High Level Programming | 2 | 05-03-2008 08:20 AM |
| Interrupt signal Control C takes too long to terminate a process | paqui | UNIX for Advanced & Expert Users | 8 | 10-17-2005 10:30 AM |
| catch SIGCHLD signal in parent process | ranjan | UNIX for Advanced & Expert Users | 2 | 06-10-2005 12:52 AM |
| how to make a current running process ignore SIGHUP signal? | stevensxiao | UNIX for Advanced & Expert Users | 3 | 12-02-2003 01:35 PM |
| signal in process communication | a9711 | High Level Programming | 2 | 06-22-2002 08:16 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi all,
How can a process be aware of the signals it handles. I looked at available signal API, but couldn't find any help. If a process defines it own handler for a signal, the default handler for that signal becomes overridden. I am interested in getting to know the status(SIG_IGN/SIG_DFL) of a signal within a process. e.g. if a program has been launched like this: $nohup ./my_exe& In this case, is it possible for the process to know that as it has been launched with nohup (i.e. SIGHUP => SIG_IGN)... it should ignore its own handler for SIGHUP if exists. My application always catches the signal and exits. ![]() --Vishal |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|