diff options
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h index a2e3b94439..13e5f6203a 100644 --- a/src/util.h +++ b/src/util.h @@ -386,6 +386,8 @@ void execute_directory(const char *directory, DIR *_d, char *argv[]); int kill_and_sigcont(pid_t pid, int sig); +bool nulstr_contains(const char*nulstr, const char *needle); + #define NULSTR_FOREACH(i, l) \ for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1) |