From nobody Tue Nov 30 02:16:37 2021 X-Original-To: dev-commits-src-main@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 B2EC518B17F7; Tue, 30 Nov 2021 02:16:37 +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 4J35SP2l7pz4Vjd; Tue, 30 Nov 2021 02:16:37 +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 32C215CEE; Tue, 30 Nov 2021 02:16:37 +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 1AU2GbkW008158; Tue, 30 Nov 2021 02:16:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AU2GbUa008157; Tue, 30 Nov 2021 02:16:37 GMT (envelope-from git) Date: Tue, 30 Nov 2021 02:16:37 GMT Message-Id: <202111300216.1AU2GbUa008157@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 8ed1e4a5c1a9 - main - posix_spawn(3), posix_spawn_file_actions_addopen(3): use .Fo/.Fc List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 8ed1e4a5c1a9d0550f1a81e80e22c4012dadec64 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638238597; 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=DtqdBKJhhXatzc1eKxHt/RusW2UNa3zQ1joXU0l625E=; b=qnAd7h5BX57FVl3cnSCPb8ZSvvhFUFnrxPg5Z9/7XKvzoewIuzOeq6iTcco4iHycxJou6V nGPRUnP5wnK2xCQYddh4f7/m0E2+0ODGFaybWVd2YRaOGI8RoE2Jk4PSbd4wXFBYUaIrFq bU/Yz7Gm4VoSzTVjbmI+aD55GFE9DHy+w8GLHKg3N3Ju4V2MHw6vK9NyWUysmazSLvfV9p G0e10IlHrcEcO5wFZIq5LediDncmPtMD2HJVT3CNimE6azSRBG5MB8A98TAQfRvxPV9hAC hQc1iWuvyMrdbC9J7nDcomULtjuqu2TwiwsjZnsqKvPkuaoz80bXYFsAwOW2pw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638238597; a=rsa-sha256; cv=none; b=bFNr4RChCOuA92VYVR+Wu6PAiewEFNlfIotg5ErRGVKFhmF7BcvdDanGSpAY/ZEvfOBIxc VqpsBGTv5FD8VlzaTFvepqvqwakgtv20O57K2Ud/apCESh9P0Wbl+sLg+OP7N3FbmZ7wiy geXrKkszB02wkTUo5v7IqZbI9xUI+oqol4MMdG0f7HlZq3/4H0eT4EY6dLb9q33X423lWg yBfdnFmzLYDExHx1S0XxCcIbdSCYmXZs3noHR+4bt07ciUL9/2sQ98EMy0i+OzsjQUb4LL R9HXaX8GicpaJ57eTXuAHvNO3EAtHzV8pKlDKKeRfY4YJPRgOGePBdp7uvqgzw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=8ed1e4a5c1a9d0550f1a81e80e22c4012dadec64 commit 8ed1e4a5c1a9d0550f1a81e80e22c4012dadec64 Author: Konstantin Belousov AuthorDate: 2021-11-28 00:16:26 +0000 Commit: Konstantin Belousov CommitDate: 2021-11-30 01:43:54 +0000 posix_spawn(3), posix_spawn_file_actions_addopen(3): use .Fo/.Fc to wrap too long lines with function prototypes. Reviewed by: kevans, ngie (previous version) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33143 --- 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.