[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Location of declarations in Linux vs FreeBSD, etc.
From: |
Russ Allbery |
Subject: |
Re: Location of declarations in Linux vs FreeBSD, etc. |
Date: |
Mon, 05 Mar 2007 19:34:11 -0800 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux) |
Harlan Stenn <address@hidden> writes:
> Because different OSes need slightly different tweaks to daemonize and
> it can be a *serious* PITA to track them all. If an OS family provides
> me with a way to do this then sometimes I am very happy to take
> advantage of this fact and save myself from a large learning curve that
> must accomodate different versions of said OS family.
Besides, using widely available functions like daemon whenever possible
makes it easier to read the code and understand what's going on. If I see
an invocation of daemon in someone's source, I run man daemon and get
detailed information on exactly what it does, way more detailed than
people are usually able/willing to write for internal functions.
--
Russ Allbery (address@hidden) <http://www.eyrie.org/~eagle/>