aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man3/posix_spawn.39
1 files changed, 5 insertions, 4 deletions
diff --git a/man3/posix_spawn.3 b/man3/posix_spawn.3
index a56aa3e86a..02f86fddd3 100644
--- a/man3/posix_spawn.3
+++ b/man3/posix_spawn.3
@@ -35,10 +35,11 @@ posix_spawn, posix_spawnp \- spawn a process
.nf
.B #include <spawn.h>
.PP
-.BI "int posix_spawn(pid_t *" pid ", const char *" path ,
-.BI " const posix_spawn_file_actions_t *" file_actions ,
-.BI " const posix_spawnattr_t *" attrp ,
-.BI " char *const " argv[] ", char *const " envp[] );
+.BI "int posix_spawn(pid_t *restrict " pid ", const char *restrict " path ,
+.BI " const posix_spawn_file_actions_t *restrict " file_actions ,
+.BI " const posix_spawnattr_t *restrict " attrp ,
+.BI " char *const " argv [restrict],
+.BI " char *const " envp [restrict]);
.BI "int posix_spawnp(pid_t *" pid ", const char *" file ,
.BI " const posix_spawn_file_actions_t *" file_actions ,
.BI " const posix_spawnattr_t *" attrp ,