RCS file: sigaction.c,v
Working file: sigaction.c
head: 1.5
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 5; selected revisions: 5
description:
Code to establish a simple handler for termination signals using sigaction.
The signal handler will identify the action to be taken with the specified signal.
—————————-
revision 1.5
date: 2014/02/02 13:31:05; author: root; state: Exp; lines: +1 -1
All the errors are fixed.
Issue:Header file is not included.
The program is working appropriately and in a way that is expected.
—————————-
revision 1.4
date: 2014/02/02 13:25:40; author: root; state: Exp; lines: +1 -0
Header file:<signal.h> is included to support signal related functions….
—————————-
revision 1.3
date: 2014/02/02 13:21:51; author: root; state: Exp; lines: +9 -0
Inside the body of the signal handler a message will be displayed that tells the user that SIGINT signal is received.
Checking….
—————————-
revision 1.2
date: 2014/02/02 13:17:07; author: root; state: Exp; lines: +3 -0
Two structure variables are declared of type sigaction.
Signal handler is registered using sigaction() system call.
Defining the body of the signal handler……..
—————————-
revision 1.1
date: 2014/02/02 13:11:02; author: root; state: Exp;
Initial revision
=============================================================================