lkml.org 
[lkml]   [2005]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: disowning a process
From
Date
On Fri, 2005-05-27 at 14:54 -0400, J. Scott Kasten wrote:

>
> Sounds like a job for the Richard Stevens "Advanced Programming in the
> UNIX Environment" book. Check out chapter 13, "daemon processes". It
> explains the subtleties of process groups, signals, inheritance, etc..
> better than most.

Definitely a good read. God rest his soul. But it doesn't let you know
that there's already a daemon function out there. But what daemon does
is pretty much a complete version of Stevens' example Program 13.1
"daemon_init".

Davy, I recommend that if you don't already have that book, get it.

-- Steve


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-27 21:43    [W:0.069 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site