diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-23 16:22:52 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-23 16:23:00 +0100 |
commit | 2db8a86efd31bdab108769363c6a107289453bc1 (patch) | |
tree | 36e5e5dd5e099c962727e0145c81e162b4e20b2e /include | |
parent | daemonise: may also be redistributed under the term of the expat license (diff) | |
download | slibc-2db8a86efd31bdab108769363c6a107289453bc1.tar.gz slibc-2db8a86efd31bdab108769363c6a107289453bc1.tar.bz2 slibc-2db8a86efd31bdab108769363c6a107289453bc1.tar.xz |
daemonise: user-private daemons
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/unistd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h index 9b78fb1..4629e8e 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -1134,6 +1134,10 @@ int daemon(int, int) * you make the function call. The process can have become * partially deamonised. * + * If $XDG_RUNTIME_DIR is set and is not empty, its value + * should be used instead of /run for the runtime data-files + * directory, in which the PID file is stored. + * * @etymology (Daemonise) the process! * * @param name The name of the daemon. Use a hardcoded value, |