chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
getty-generator: fix stripping /dev/
[elogind.git]
/
src
/
systemd
/
sd-daemon.h
diff --git
a/src/systemd/sd-daemon.h
b/src/systemd/sd-daemon.h
index eb2a6065112f6e29b1a637e8c070200e9b1dac08..daa3f4c857946ed81b607a6ed07864b39e04e077 100644
(file)
--- a/
src/systemd/sd-daemon.h
+++ b/
src/systemd/sd-daemon.h
@@
-58,21
+58,21
@@
extern "C" {
You may find an up-to-date version of these source files online:
You may find an up-to-date version of these source files online:
- http://cgit.freedesktop.org/systemd/plain/src/systemd/sd-daemon.h
- http://cgit.freedesktop.org/systemd/
plain/src
/sd-daemon.c
+ http://cgit.freedesktop.org/systemd/
systemd/
plain/src/systemd/sd-daemon.h
+ http://cgit.freedesktop.org/systemd/
systemd/plain/src/libsystemd-daemon
/sd-daemon.c
This should compile on non-Linux systems, too, but with the
exception of the sd_is_xxx() calls all functions will become NOPs.
This should compile on non-Linux systems, too, but with the
exception of the sd_is_xxx() calls all functions will become NOPs.
- See sd-daemon(
7
) for more information.
+ See sd-daemon(
3
) for more information.
*/
#ifndef _sd_printf_attr_
*/
#ifndef _sd_printf_attr_
-#if __GNUC__ >= 4
-#define _sd_printf_attr_(a,b) __attribute__ ((format (printf, a, b)))
-#else
-#define _sd_printf_attr_(a,b)
-#endif
+#
if __GNUC__ >= 4
+#
define _sd_printf_attr_(a,b) __attribute__ ((format (printf, a, b)))
+#
else
+#
define _sd_printf_attr_(a,b)
+#
endif
#endif
/*
#endif
/*
@@
-217,6
+217,11
@@
int sd_is_mq(int fd, const char *path);
MAINPID=... The main pid of a daemon, in case systemd did not
fork off the process itself. Example: "MAINPID=4711"
MAINPID=... The main pid of a daemon, in case systemd did not
fork off the process itself. Example: "MAINPID=4711"
+ WATCHDOG=1 Tells systemd to update the watchdog timestamp.
+ Services using this feature should do this in
+ regular intervals. A watchdog framework can use the
+ timestamps to detect failed services.
+
Daemons can choose to send additional variables. However, it is
recommended to prefix variable names not listed above with X_.
Daemons can choose to send additional variables. However, it is
recommended to prefix variable names not listed above with X_.