diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-02-14 22:38:30 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-02-14 22:38:30 +0100 |
commit | 2e6c9e6bdee8ebc9d34095b6f542603a217498e0 (patch) | |
tree | 3b0231c24bc45119a2c206ae015da8af1d079558 /strv.h | |
parent | 8d49745c2be3385ff3c20f4c848abfe700b06435 (diff) |
strv: introduce strv_env_merge() to merge environment arrays
Diffstat (limited to 'strv.h')
-rw-r--r-- | strv.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -49,6 +49,8 @@ char **strv_split_quoted(const char *s); char *strv_join(char **l, const char *separator); +char **strv_env_merge(char **x, ...) _sentinel; + #define STRV_FOREACH(s, l) \ for ((s) = (l); (s) && *(s); (s)++) |