c program the catches the ctrl-c(SIGINT) Signal for the
first time and prints a output rather and exit on pressing
Ctrl-C again

Answer Posted / dwarf

on Linux:
man 2 signal
for signum use SIGINT

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the command to find out today's date?

575


What is bash shell command?

555


what is info area how many types?

2281


Is powershell a language?

556


How to find duplicate record in file using shell script?

843






What language is used in terminal?

549


Where is bash history?

502


Explain about gui scripting?

617


How can I send a mail with a compressed file as an attachment?

552


Given a file find the count of lines containing the word "abc".

950


shell script for reverse the string

914


How does ls command work?

579


Is shell scripting difficult?

552


What is @echo off?

554


What is the equivalent of a file shortcut that we have a window on a linux system?

597