Re: How do I daemonize a process?
- From: Jacques Fourie <jf@xxxxxxxxxxx>
- Date: Mon, 23 Jul 2007 10:46:50 +0200
On Mon, Jul 23, 2007 at 01:41:00AM -0700, Garrett Cooper wrote:
Garrett Cooper wrote:
As the subject suggests I'm trying to determine how I can daemonize
a C process, outside of using the rc infrastructure, so that it won't
exit when the TTY exists. Does anyone know any quick references or
examples?
Thanks,
-Garrett
s/C process/C application process/
s/exists/exits/
s/any quick/of any quick/
Tonight's not my night for communicating I suppose :(..
-Garrett
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
If you can modify the source, have a look at the daemon() function :
man 3 daemon
jacques
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- References:
- How do I daemonize a process?
- From: Garrett Cooper
- Re: How do I daemonize a process?
- From: Garrett Cooper
- How do I daemonize a process?
- Prev by Date: Re: How do I daemonize a process?
- Next by Date: Re: How do I daemonize a process?
- Previous by thread: Re: How do I daemonize a process?
- Next by thread: Re: How do I daemonize a process?
- Index(es):
Relevant Pages
|
|