env-util: introduce env_update_systemd_exec_pid()

Will be used in later commits.
This commit is contained in:
Yu Watanabe
2021-02-01 01:13:44 +09:00
parent 2824374f95
commit cfd1c6e262
3 changed files with 63 additions and 0 deletions
+2
View File
@@ -55,3 +55,5 @@ int getenv_bool_secure(const char *p);
/* Like setenv, but calls unsetenv if value == NULL. */
int set_unset_env(const char *name, const char *value, bool overwrite);
int setenv_systemd_exec_pid(bool update_only);