From nobody Mon Nov 04 17:03:07 2024 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 4XhyTR3fT9z5cJKw; Mon, 04 Nov 2024 17:03:07 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XhyTR2ZtCz401b; Mon, 4 Nov 2024 17:03:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730739787; 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=MgJfghUFP0kUBFTVG1WdtnWSmSiDToqUWywwEJLZn04=; b=g44P6MYEDNRPYt1PtM5oJkl4rVXXlbYwZsqRhEqmZe+vA8ixhGA0UAmO/QBhtYL8V4gtLD 9HWutYV0b892wTsTOBnDw8Qpg+fkq1ljairpW9rJJZtljlbQ+TQs/2fpTo3ynyCjWWpr/9 rcPy4k72ufpBzIxdJ/rRKQD+N8LTzVlxHrd5izft+I3dRlRC5CojgxqZWYFFvszxaRZgOk k75RPx8PZ6yzdDm5AZJEOQS8TTi86y18pUNvEZO7/u8ygSPEEPdmPdGmnNKn873pzYuxtK DX8YRNRFeeJsKljRwuwzBOqzt05zXuMfZwOvXGvt6YRg4AhKiXvJus+aHvV7mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730739787; 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=MgJfghUFP0kUBFTVG1WdtnWSmSiDToqUWywwEJLZn04=; b=C7be73W0X1K0o6XaOdc3diwUClXLDASeCt2Lvq0A5NwMkGUhrxg4CUKZ5Ld6LRlT+/yKNG ELcgfZMwGXiA8ctdSK1DXH2okXF+WV9fwzs15651v9O1fyylSyGpM3j59bCijPkOOxQMAx Sl3erjqIU9rvTZIaV6q8B9GcANMgB0Au/PGAePCzyw6dV4fmvhA6p9b4RdAXiCDFc7ds/H 4fFubKowODhzT52sHImdm2BMzsASrWgeO6OxRN+rXAvOpZMYe0rJ8biLaOaNPMjT/wIImq d0FOPCHDoj7v9X2LUG7U4uOn3byzlr0PMSyUcpug2KJvWFet0+x+TkJhfRlFpw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730739787; a=rsa-sha256; cv=none; b=uQ4KsVObWq19O2zwYTHWZa4bO1OEizIXJMipkF6ns18Vd5IodWdY4tguW043CFs+NTZFOb oXtnynpkdSoUdSfFY9jiZre5fOFAyQO1BATy5MNGEdO0ghTeRFJpuevR0PFitxInzm+9Se 3aEZJzY83Tvw3GgAyU5kesrYIQ3bAEK3ZKMYG4Obb2slMX8pkO9Q0K1a18lZx6LRWykb2l 0cDeoyVnTCKLQGH2jRHE57lmV3LUrDzaa5Qfw6sm6O163OL/s23fUQ51I3K3B5GiYjgzhi hRQuAbQS8sviLrp2jWrQ1PQ60L/ukvb1oU5RoGeC/agEOL7pS4FO0jRvoRsWqg== 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 4XhyTR2BVhzhhv; Mon, 4 Nov 2024 17:03:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4A4H37BQ003335; Mon, 4 Nov 2024 17:03:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A4H37xY003332; Mon, 4 Nov 2024 17:03:07 GMT (envelope-from git) Date: Mon, 4 Nov 2024 17:03:07 GMT Message-Id: <202411041703.4A4H37xY003332@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: 7e98eae74037 - main - c(7): Utilise proper macros to pass mandoc's linter 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7e98eae74037aa7987ca30ea8b7b11bec7d9cc0c Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=7e98eae74037aa7987ca30ea8b7b11bec7d9cc0c commit 7e98eae74037aa7987ca30ea8b7b11bec7d9cc0c Author: Faraz Vahedi AuthorDate: 2024-11-03 09:01:23 +0000 Commit: Brooks Davis CommitDate: 2024-11-04 16:40:35 +0000 c(7): Utilise proper macros to pass mandoc's linter Reviewed by: Graham Percival Pull Request: https://github.com/freebsd/freebsd-src/pull/1507 Signed-off-by: Faraz Vahedi --- share/man/man7/c.7 | 68 ++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 48 insertions(+), 20 deletions(-) diff --git a/share/man/man7/c.7 b/share/man/man7/c.7 index 97869fe0f8f2..7c180797d296 100644 --- a/share/man/man7/c.7 +++ b/share/man/man7/c.7 @@ -112,9 +112,12 @@ development of the language did not stop. .Pp The ISO C standard was later extended with an amendment as ISO/IEC 9899/AMD1 in 1995. -This contained, for example, the wide-character support in and -, and also restricted character set support via diagraphs and -. +This contained, for example, the wide-character support in +.In wchar.h +and +.In wctype.h , +and also restricted character set support via diagraphs and +.In iso646.h . This amendment is usually referred to as C95. Two technical corrigenda were also published: Technical Corrigendum 1 as ISO/IEC 9899/COR1 in 1994 and Technical Corrigendum 2 as ISO/IEC 9899/COR2 @@ -130,18 +133,23 @@ The improvements include (but are not limited to) the following: .Bl -bullet -offset indent .It digraphs, trigraphs, and alternative spellings for the operators that -use non-ISO646 characters in +use non-ISO646 characters in +.In iso646.h .It -extended multibyte and wide character library support in and - +extended multibyte and wide character library support in +.In wchar.h +and +.In wctype.h .It variable length arrays .It flexible array members .It -complex (and imaginary) number arithmetic support in +complex (and imaginary) number arithmetic support in +.In complex.h .It -type-generic math macros in +type-generic math macros in +.In tgmath.h .It the long long int type and library functions .It @@ -157,15 +165,24 @@ BCPL style single-line comments .It allow mixed declarations and code .It -the vscanf family of functions in and +the +.Fn vscanf +family of functions in +.In stdio.h +and +.In wchar.h .It allow trailing comma in enum declaration .It inline functions .It -the snprintf family of functions in +the +.Fn snprintf +family of functions in +.In stdio.h .It -boolean type and macros in +boolean type and macros in +.In stdbool.h .It empty macro arguments .It @@ -173,7 +190,8 @@ _Pragma preprocessing operator .It __func__ predefined identifier .It -va_copy macro in +va_copy macro in +.In stdarg.h .It additional strftime conversion specifiers .El @@ -185,24 +203,34 @@ and ISO/IEC 9899:1999/COR3:2007. The improvements include (but are not limited to) the following: .Bl -bullet -offset indent .It -support for multiple threads of execution and atomic operations in -and +support for multiple threads of execution and atomic operations in +.In threads.h +and +.In stdatomic.h .It -additional floating-point characteristic macros in +additional floating-point characteristic macros in +.In float.h .It -querying and specifying alignment of objects in and +querying and specifying alignment of objects in +.In stdalign.h +and +.In stdlib.h .It -Unicode character types and functions in +Unicode character types and functions in +.In uchar.h .It type-generic expressions .It -static assertions in +static assertions in +.In assert.h .It anonymous structures and unions .It -remove the gets function from +remove the gets function from +.In stdio.h .It -add the aligned_alloc, at_quick_exit, and quick_exit functions in +add the aligned_alloc, at_quick_exit, and quick_exit functions in +.In stdlib.h .El .Pp C11 was later superseded by ISO/IEC 9899:2018, also known as C17 which was