From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 47ECF2288CB for ; Tue, 10 Feb 2026 22:48:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770763698; cv=none; b=egeKhiAAgq4VQkEouip+hpTAa+jy+YPdlKQ5dZHNCHRYDnvg5aMRejHnty47E92KWfHzW9E0UbeGdAQITIT9jU2oxF93Ndo7fgHqgcZ0hznTHUChe3dcOYgRjdCOcUA3Cc7QKEaMkoCOWYvu20UuPShzF8T28FQgCoYUC/KPffA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770763698; c=relaxed/simple; bh=Da75WUtLCrG8KAaVW0Y76OM/gvWuPUI4RjAvOIRMloo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pQU3TbyUD8kw66Yn8ZYh0CAz2lX0pbd/jJ6udyOsy+cDMfw22e4eZD/z7D/BYCzc+M7c5cSjLzAF5AdYez+XdsF9LUUoAeMXlBtUNFhRQgfikj08aIUo3wCp1ONFgGl+wegFUZCzpKHtCwZn3gBXGmq4RcYfep1MLeFD3SBEC+g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UDVyaJTp; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UDVyaJTp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2273CC116C6; Tue, 10 Feb 2026 22:48:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1770763697; bh=Da75WUtLCrG8KAaVW0Y76OM/gvWuPUI4RjAvOIRMloo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UDVyaJTp7+8XPOaZo4D5CtfiO0ZFipsvK2kC2hGT+fj/hkNOCdp1PaXp9Ax8X0OES 2W/k31xtDviN666H06Ut42xc46C6LcL7gCKREkvWvDgYImN1TPwFslGVlgYDJTbaU3 2ev7m1ONsriaFMCpTGms5CiZyn0yMo98Tj6Pg1fG0GfclaLZhB9J6jxQSxxyR7it6s 6xdSVgtklAXqx5h2oo7Ra30dKER64JU3/F3lWTMabv0BgGsed2Wrd0Oy2NuYFpxBeL G2U4ARah26j1pIVFf2vTpgwy+n5fxdarIl+uSeNv+oP8pmM/eopk8h+huFDveMjIRL EHf/7L8zsTeKw== Date: Tue, 10 Feb 2026 23:48:14 +0100 From: Alejandro Colomar To: Mark Harris Cc: linux-man@vger.kernel.org Subject: Re: [PATCH 1/2] man/man7/feature_test_macros.7: Add _ISOC23_SOURCE, _ISOC2X_SOURCE Message-ID: References: Precedence: bulk X-Mailing-List: linux-man@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="p2f7ebic6vcttmnk" Content-Disposition: inline In-Reply-To: --p2f7ebic6vcttmnk Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable From: Alejandro Colomar To: Mark Harris Cc: linux-man@vger.kernel.org Subject: Re: [PATCH 1/2] man/man7/feature_test_macros.7: Add _ISOC23_SOURCE, _ISOC2X_SOURCE Message-ID: References: MIME-Version: 1.0 In-Reply-To: On 2026-01-27T22:46:23-0800, Mark Harris wrote: > _ISOC2X_SOURCE has been recognized since glibc 2.31 (2020).[1] > _ISOC23_SOURCE has been recognized since glibc 2.40 (2024).[2] >=20 > [1] > [2] >=20 > Signed-off-by: Mark Harris Hi Mark, Thanks! I've applied the patch. Have a lovely night! Alex > --- > man/man7/feature_test_macros.7 | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) >=20 > diff --git a/man/man7/feature_test_macros.7 b/man/man7/feature_test_macro= s.7 > index f0d4a51f2..a0c97f2c5 100644 > --- a/man/man7/feature_test_macros.7 > +++ b/man/man7/feature_test_macros.7 > @@ -358,6 +358,24 @@ .SS Feature test macros understood by glibc > .I \-std=3Dc11 > produces the same effects as defining this macro. > .TP > +.BR _ISOC23_SOURCE " (since glibc 2.40)" > +Exposes declarations consistent with the ISO C23 standard. > +.IP > +Since glibc 2.31, an equivalent macro named > +.B _ISOC2X_SOURCE > +was recognized > +(because the C23 standard had not then been finalized). > +Although the use of this macro is obsolete, glibc continues > +to recognize it for backward compatibility. > +.IP > +Defining > +.B _ISOC23_SOURCE > +also enables C11, C99, and C95 features. > +.IP > +Invoking the C compiler with the option > +.I \-std=3Dc23 > +produces the same effects as defining this macro. > +.TP > .B _LARGEFILE64_SOURCE > Expose definitions for the alternative API specified by the > LFS (Large File Summit) as a "transitional extension" to the > @@ -692,6 +710,8 @@ .SS Default definitions, implicit definitions, and co= mbining definitions > .BR _ISOC99_SOURCE , > .B _ISOC11_SOURCE > (since glibc 2.18), > +.B _ISOC23_SOURCE > +(since glibc 2.40), > .BR _POSIX_SOURCE , > .BR _POSIX_C_SOURCE , > .BR _XOPEN_SOURCE , > @@ -876,6 +896,10 @@ .SS Program source > printf("_ISOC11_SOURCE defined\[rs]n"); > #endif > \& > +#ifdef _ISOC23_SOURCE > + printf("_ISOC23_SOURCE defined\[rs]n"); > +#endif > +\& > #ifdef _XOPEN_SOURCE > printf("_XOPEN_SOURCE defined: %d\[rs]n", _XOPEN_SOURCE); > #endif > --=20 > 2.52.0 >=20 --=20 --p2f7ebic6vcttmnk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmmLta4ACgkQ64mZXMKQ wqmxYQ//d3g/F4nKViabf/6HXTqodyqR7r6mQq7wclaxcPsZmyuoRx6d814zz2rL zH4wBIv4gpS3FujDlLRKSrahpcigmKjle2xeujV0hBxDBIXRtHEB1TZBx2EHQaFq hxLUoGan2PEeOtlJz3jgsj/a/TeOtqHqqai0o7o4dLJEz7upf9XKTqDvqM1t3fst g666dAflVP38NQnvpRHbxD5EkAB6fnLqZhESwBYpXEBYEhUqnNRGVoMU+ddDjd8q 64DE3jxyE8GMpqBlmmuJ91P8ZjhWuHE/8tyez3+W+gCW13F+UzTmfP//uCCxP5qF 8b/xNDyzPBHZEkO7+AMWnIOSMA9tLK3ogAUc7PCKr+OLKlrsXqZdh/Dm/6w1TLNi OGs6LO3FPETxS1OF3sQj6nAMu5FRJMByr2L2k8YcN7tfknMFRETh6ajXJm9+Ht2/ W6xsFvhc//Ym2pdDNzuhheur/jSY44FR35xS1E5j8ziTfY/4vGolTmSVp3vYs05K TlsmgvhmxCOimVWucxGOzELr3QavNmysabmiq/R3xRytlj3/5RfQMrOyeArTnW4I Ce3tXKULUkDPk7BWiK1dGKF0utRUkOAWOfQK0u8e9/3AxA1oSDMGMhO+EMHnwgeK oCaFaIVZE6N8KXA77HmekdLT97FOYs11gZFckh1nW7z4Wh6EEa4= =wrO4 -----END PGP SIGNATURE----- --p2f7ebic6vcttmnk--