diff options
author | Keith Thompson <Keith.S.Thompson@gmail.com> | 2022-01-05 13:30:16 -0800 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2022-01-10 09:57:05 +0100 |
commit | d4e61b73a946c16f1cfb44767812cd471e921120 (patch) | |
tree | 1a50f7ff1dc4b9733e04b67e15709b44ac377320 /newlib/libc | |
parent | 8c57b8b2b4c4f82e8cca6c4c6d8ac8a1c05fe8a9 (diff) | |
download | newlib-d4e61b73a946c16f1cfb44767812cd471e921120.zip newlib-d4e61b73a946c16f1cfb44767812cd471e921120.tar.gz newlib-d4e61b73a946c16f1cfb44767812cd471e921120.tar.bz2 |
Fix documented argv and envp params for posix_spawn
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/posix/posix_spawn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/posix/posix_spawn.c b/newlib/libc/posix/posix_spawn.c index 005471f..85bfa64 100644 --- a/newlib/libc/posix/posix_spawn.c +++ b/newlib/libc/posix/posix_spawn.c @@ -39,11 +39,11 @@ SYNOPSIS int posix_spawn(pid_t *<[pid]>, const char *<[path]>, const posix_spawn_file_actions_t *<[file_actions]>, const posix_spawnattr_t *<[attrp]>, - char *const <[argv]>, char *const <[envp]>); + char *const <[argv]>[], char *const <[envp]>[]); int posix_spawnp(pid_t *<[pid]>, const char *<[file]>, const posix_spawn_file_actions_t *<[file_actions]>, const posix_spawnattr_t *<[attrp]>, - char *const <[argv]>, char *const <[envp]>); + char *const <[argv]>[], char *const <[envp]>[]); DESCRIPTION Use <<posix_spawn>> and <<posix_spawnp>> to create a new child process |