LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 04-06-2015, 09:48 AM   #1
sachin1066@ymail.com
LQ Newbie
 
Registered: Mar 2015
Posts: 1

Rep: Reputation: Disabled
signal in unix


sigterm programming in c

Last edited by sachin1066@ymail.com; 04-06-2015 at 09:50 AM. Reason: firstly it was not so subjective
 
Old 04-06-2015, 03:10 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,336

Rep: Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895
Quote:
Originally Posted by sachin1066@ymail.com View Post
sigterm programming in c
Is there a question in here somewhere??
 
Old 04-07-2015, 02:11 AM   #3
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Read 'Signal Handling' section of glibc info page.

Code:
info libc
 
Old 04-07-2015, 07:41 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 4,484
Blog Entries: 10

Rep: Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643Reputation: 1643
Quote:
Originally Posted by sachin1066@ymail.com View Post
sigterm programming in c
"process id assignment"

See? I can do it too!

Well OP I guess you've noticed that an indeterminate sentence fragment is not a good question.

Use your favorite we search and look for examples of signals being used in C source, I'm sure you'll find plenty. Plus review the recommended documentation section per veerain's suggestion.

There are also links in most of our signatures pointing to LQ's guidances on how to ask effective questions.

You may also wish to review the LQ Rules and guidelines in order to head off the possibility that you may soon look to post homework or assignment questions verbatim. That's also frowned upon.
 
Old 04-08-2015, 03:54 PM   #5
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 513
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by sachin1066@ymail.com View Post
sigterm programming in c
comes not easy
comes not at all if threads are many
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Please help:program hang stuck there signal handling on POSIX Message Queue UNIX C pr ouou Programming 1 06-15-2011 12:38 AM
Problems designing a signal handler in UNIX 19bernardo87 Linux - Newbie 7 01-23-2010 06:08 PM
Problems designing a signal handler with sigwait in UNIX 19bernardo87 Programming 1 01-21-2010 03:56 PM
user-define signal handler & coredump for signal 11(SIGSEGV) Alexlun Linux - Software 2 05-24-2009 07:37 AM
'c' unix signal problem GAFling Programming 1 01-08-2002 02:00 PM


All times are GMT -5. The time now is 11:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration