aboutsummaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2019-08-22 15:09:29 +0100
committersin <sin@2f30.org>2019-08-22 17:21:29 +0100
commit58edea240e40eeb006923f012a6bb792fb8ef8a7 (patch)
tree8c3a04522acecc24a2cba5dc66af97389f678b9e /util.h
parent784551aa55ff996e103443d1bbe65684fd4d7463 (diff)
downloadnoice-58edea240e40eeb006923f012a6bb792fb8ef8a7.tar.gz
Fix spawn*() so it can report errors to the caller
If nopen is not in PATH, noice will briefly print a warning about it so the user knows. Also, add NOPENCMD define in noiceconf.def.h to specify the default plumber program.
Diffstat (limited to 'util.h')
-rw-r--r--util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.h b/util.h
index 0ccdb50..01da706 100644
--- a/util.h
+++ b/util.h
@@ -24,5 +24,5 @@ size_t strlcat(char *, const char *, size_t);
#undef strlcpy
size_t strlcpy(char *, const char *, size_t);
int strverscmp(const char *, const char *);
-void spawnvp(char *, char *, char *[]);
-void spawnlp(char *, char *, char *, ...);
+int spawnvp(char *, char *, char *[]);
+int spawnlp(char *, char *, char *, ...);
Un proyecto texto-plano.xyz