Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Thompson <Keith.S.Thompson@gmail.com>2022-01-06 00:30:16 +0300
committerCorinna Vinschen <corinna@vinschen.de>2022-01-10 11:57:05 +0300
commitd4e61b73a946c16f1cfb44767812cd471e921120 (patch)
tree1a50f7ff1dc4b9733e04b67e15709b44ac377320 /newlib/libc/posix
parent8c57b8b2b4c4f82e8cca6c4c6d8ac8a1c05fe8a9 (diff)
Fix documented argv and envp params for posix_spawn
Diffstat (limited to 'newlib/libc/posix')
-rw-r--r--newlib/libc/posix/posix_spawn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/posix/posix_spawn.c b/newlib/libc/posix/posix_spawn.c
index 005471fde..85bfa6477 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