diff options
Diffstat (limited to 'src/librc/rc.h.in')
-rw-r--r-- | src/librc/rc.h.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/librc/rc.h.in b/src/librc/rc.h.in index 350f518e..31b21f16 100644 --- a/src/librc/rc.h.in +++ b/src/librc/rc.h.in @@ -361,6 +361,13 @@ bool rc_newer_than(const char *, const char *, time_t *, char *); * @return true if source is older than target, otherwise false */ bool rc_older_than(const char *, const char *, time_t *, char *); +#ifdef __linux__ +/*! Read variables/values from /proc/cmdline + * @param value + * @return pointer to the value, otherwise NULL */ +char *rc_proc_getent(const char *); +#endif + /*! Update the cached dependency tree if it's older than any init script, * its configuration file or an external configuration file the init script * has specified. |