Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How will you pass and access arguments to a script in linux?

1101


How do I run a powershell script?

1069


What is the use of break command?

1063


Write a shell script that adds two numbers if provided as the command line argument and if the two numbers are not entered throws an error message.

1244


How does ls command work?

992


Can you write a script to portray how set –x works?

973


I want to connect to a remote server and execute some commands, how can I achieve this?

990


write a shell script to check the failed jobs?

4366


Is shell scripting a language?

997


How do I open the shell prompt?

1153


Which is better perl or shell scripting?

959


What's the difference between scripting and coding?

1118


What is sed in shell script?

997


How do I start a shell script?

1151


How to find all the files modified in less than 3 days and save the record in a text file?

1022