summaryrefslogtreecommitdiffstats
path: root/spawn.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-06-13 15:52:34 -0400
committerTavian Barnes <tavianator@tavianator.com>2021-06-13 15:52:34 -0400
commitae15c5abe0bb2d8bd5fd3502721288bcb1a85d59 (patch)
tree6820851fba0f52ff6be9e96bc0480e328a3bb65d /spawn.h
parent78e968dd789ca8d1cac8da3715352184bca2a188 (diff)
downloadbfs-ae15c5abe0bb2d8bd5fd3502721288bcb1a85d59.tar.xz
spawn: Allow NULL envp for the current environment
Diffstat (limited to 'spawn.h')
-rw-r--r--spawn.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/spawn.h b/spawn.h
index a2c23fd..16815bb 100644
--- a/spawn.h
+++ b/spawn.h
@@ -100,7 +100,8 @@ int bfs_spawn_addsetrlimit(struct bfs_spawn *ctx, int resource, const struct rli
* @param argv
* The arguments for the new process.
* @param envp
- * The environment variables for the new process.
+ * The environment variables for the new process (NULL for the current
+ * environment.
* @return
* The PID of the new process, or -1 on error.
*/