LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-07-2017, 07:33 PM   #1
bodisha
Member
 
Registered: Oct 2016
Posts: 36

Rep: Reputation: Disabled
exit() system call verses process signals


Hello and thanks in advance for any help anyone can offer me

I've been reading up on process signal calls (sighup, sigint, sigkill & sigterm) and I understand they all have different methods of terminating a running process. From what I've also read is a exit() actually terminates a process.

I'm curious to understand the process Linux goes about to terminating a process with exit() after a process signal has been issued. I've searched google but haven't seen anything that steps thru this. Could someone give me a quick & dirty explanation of this?

Much thanks!
 
Old 01-08-2017, 12:04 PM   #2
Disillusionist
Senior Member
 
Registered: Aug 2004
Location: England
Distribution: Ubuntu
Posts: 1,039

Rep: Reputation: 98
Hi bodisha

Welcome to Linux questions

Did you not get sent to the Wikipedia page?

https://en.m.wikipedia.org/wiki/Exit_(system_call)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
exit status for system call (exit) Tala_22 Linux - Kernel 2 10-20-2015 06:51 PM
system call from a /init.d/ script not returning correct exit code tomschuring Linux - General 5 10-03-2013 08:38 PM
[SOLVED] system() call produces wrong exit status in daemon Wolf-Ekkehard Programming 7 06-06-2012 08:59 PM
process of creating system call surabhi suppu Programming 5 04-14-2011 02:07 PM
[SOLVED] Exit status of system() call shankar.489 Linux - Newbie 2 03-18-2011 12:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration