From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 3CC973858402; Mon, 10 Jan 2022 08:57:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3CC973858402 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] Fix documented argv and envp params for posix_spawn X-Act-Checkin: newlib-cygwin X-Git-Author: Keith Thompson X-Git-Refname: refs/heads/master X-Git-Oldrev: 8c57b8b2b4c4f82e8cca6c4c6d8ac8a1c05fe8a9 X-Git-Newrev: d4e61b73a946c16f1cfb44767812cd471e921120 Message-Id: <20220110085730.3CC973858402@sourceware.org> Date: Mon, 10 Jan 2022 08:57:30 +0000 (GMT) X-BeenThere: newlib-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib GIT logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jan 2022 08:57:30 -0000 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=d4e61b73a946c16f1cfb44767812cd471e921120 commit d4e61b73a946c16f1cfb44767812cd471e921120 Author: Keith Thompson Date: Wed Jan 5 13:30:16 2022 -0800 Fix documented argv and envp params for posix_spawn Diff: --- newlib/libc/posix/posix_spawn.c | 4 ++-- 1 file 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 <> and <> to create a new child process