From nobody Tue Dec 07 00:27:34 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D054A18D39C5; Tue, 7 Dec 2021 00:27:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J7LjL5fCDz4SGC; Tue, 7 Dec 2021 00:27:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 95DC715E15; Tue, 7 Dec 2021 00:27:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1B70RYDl021360; Tue, 7 Dec 2021 00:27:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B70RYsq021359; Tue, 7 Dec 2021 00:27:34 GMT (envelope-from git) Date: Tue, 7 Dec 2021 00:27:34 GMT Message-Id: <202112070027.1B70RYsq021359@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 4529cb3db2f6 - stable/13 - posix_spawn(3), posix_spawn_file_actions_addopen(3): use .Fo/.Fc List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 4529cb3db2f67ea8e26b5ea4e4245efe07b62025 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638836855; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d89f2A8YzUjCbtz5WshS+UJslflqHvSsWZ8q7gBOZ2Q=; b=KbyC16sktQFXvRirh8X82cbkvSxPIGehFv+3uE7W0695AEG48eFPSXPQLUbUr0Lq4SL322 gZjwuprx+X0KSPxmDKRqhFyt/LYZfpvNR+begCKKa/Ij49X4Tat+KiUGJo8uVqH0ClZ42i DM5/TrG5oySIA3FaNwpuFGcmI3jAZvc6059+rXkpBcIOkWi1oTLSwwLDYpsUhYwOclM7d+ LJcwtmiYhoBu6Mnm8NbejvA3bq/hjyw11yAwl7FjV3hIblzLVTf1LxNU6f0R32ejTlGJYh j5U/+/LZmd9GZfccWvQsTcAqXJvZO6+4I3BbJjn5YOKfv9z6iSXv9/uYr7Y+vA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638836855; a=rsa-sha256; cv=none; b=rejgD0sxk2riPhY5qYWAeq/XXf8nmWrMoAbSSsMko1xVtb6/r2qO2Emr2tItVSJA42GLSp DyzxCL5xVeOpmsh4eqhievmDOXQX2O6Vk1XHmPS3qH4tHjltqPl9JvP408DXjEonqnDuPx d++H0qOoPPDfv8sXb4Q2UX894UYFMBSoM7z6nq4yZqRXG9N9md03MmGUA/ccOyU+4Jo26e g6ZuJXU+bqZW1QcCZugg5Q3lOwY4bt+Pd6tX7QhX3/S19q1fF7DT12h0on4lExOSbxrm15 AJ0oODHakiH9n6HnNcPTu0fRgx5kqmNZJoo4gZgyIXUXk5PUEllfHzGFshqKNQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=4529cb3db2f67ea8e26b5ea4e4245efe07b62025 commit 4529cb3db2f67ea8e26b5ea4e4245efe07b62025 Author: Konstantin Belousov AuthorDate: 2021-11-28 00:16:26 +0000 Commit: Konstantin Belousov CommitDate: 2021-12-07 00:25:01 +0000 posix_spawn(3), posix_spawn_file_actions_addopen(3): use .Fo/.Fc (cherry picked from commit 8ed1e4a5c1a9d0550f1a81e80e22c4012dadec64) --- lib/libc/gen/posix_spawn.3 | 18 ++++++++++++++++-- lib/libc/gen/posix_spawn_file_actions_addopen.3 | 19 ++++++++++++++++--- 2 files changed, 32 insertions(+), 5 deletions(-) diff --git a/lib/libc/gen/posix_spawn.3 b/lib/libc/gen/posix_spawn.3 index 596dac318673..12df7dc41875 100644 --- a/lib/libc/gen/posix_spawn.3 +++ b/lib/libc/gen/posix_spawn.3 @@ -46,9 +46,23 @@ .Sh SYNOPSIS .In spawn.h .Ft int -.Fn posix_spawn "pid_t *restrict pid" "const char *restrict path" "const posix_spawn_file_actions_t *file_actions" "const posix_spawnattr_t *restrict attrp" "char *const argv[restrict]" "char *const envp[restrict]" +.Fo posix_spawn +.Fa "pid_t *restrict pid" +.Fa "const char *restrict path" +.Fa "const posix_spawn_file_actions_t *file_actions" +.Fa "const posix_spawnattr_t *restrict attrp" +.Fa "char *const argv[restrict]" +.Fa "char *const envp[restrict]" +.Fc .Ft int -.Fn posix_spawnp "pid_t *restrict pid" "const char *restrict file" "const posix_spawn_file_actions_t *file_actions" "const posix_spawnattr_t *restrict attrp" "char *const argv[restrict]" "char *const envp[restrict]" +.Fo posix_spawnp +.Fa "pid_t *restrict pid" +.Fa "const char *restrict file" +.Fa "const posix_spawn_file_actions_t *file_actions" +.Fa "const posix_spawnattr_t *restrict attrp" +.Fa "char *const argv[restrict]" +.Fa "char *const envp[restrict]" +.Fc .Sh DESCRIPTION The .Fn posix_spawn diff --git a/lib/libc/gen/posix_spawn_file_actions_addopen.3 b/lib/libc/gen/posix_spawn_file_actions_addopen.3 index 0b57999bf4be..5cecb49a614d 100644 --- a/lib/libc/gen/posix_spawn_file_actions_addopen.3 +++ b/lib/libc/gen/posix_spawn_file_actions_addopen.3 @@ -47,11 +47,24 @@ .Sh SYNOPSIS .In spawn.h .Ft int -.Fn posix_spawn_file_actions_addopen "posix_spawn_file_actions_t * file_actions" "int fildes" "const char *restrict path" "int oflag" "mode_t mode" +.Fo posix_spawn_file_actions_addopen +.Fa "posix_spawn_file_actions_t * file_actions" +.Fa "int fildes" +.Fa "const char *restrict path" +.Fa "int oflag" +.Fa "mode_t mode" +.Fc .Ft int -.Fn posix_spawn_file_actions_adddup2 "posix_spawn_file_actions_t * file_actions" "int fildes" "int newfildes" +.Fo posix_spawn_file_actions_adddup2 +.Fa "posix_spawn_file_actions_t * file_actions" +.Fa "int fildes" +.Fa "int newfildes" +.Fc .Ft int -.Fn posix_spawn_file_actions_addclose "posix_spawn_file_actions_t * file_actions" "int fildes" +.Fo posix_spawn_file_actions_addclose +.Fa "posix_spawn_file_actions_t * file_actions" +.Fa "int fildes" +.Fc .Sh DESCRIPTION These functions add an open, dup2 or close action to a spawn file actions object.