From nobody Fri Nov 15 02:32:43 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 4XqLf33rfBz5dSth; Fri, 15 Nov 2024 02:32:43 +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 4XqLf33GChz4hgV; Fri, 15 Nov 2024 02:32:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731637963; 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=32CWkVIuRkapaT9H6NR4CxyIA6xmefJgsRdeVYacL6s=; b=ePIR+TXJLGiVfeAtgdX9x2KbS306Wfd8i5wMUBAVAoJl68Y2eTvZQrIzJ5ZRibFsdJm+y7 YYIlExgrvBirWjzDuF9qN8qmcf3+mt89e17GWNJrRESjqyPI4jof5cvTxB9GJAWEmodCDm ChIrG6TiW+ah5FDSIenX+b50dUX+vBQcI/SOWaHRCjjBwh7EvfYO+Umsf6eDHbM8drB3kK OKJt+MuMN/9IHvMdsEyDnuLBD5vGQrkkJp1WumVbiNTzAPFBe081iq9M7ZFfAlu8OFuA4y gV4sXgGla+apbHYKVPbx6X0AQ5fAJk7CtsFqWkdAVnsf5DzKy8hZ2Lq+8uJpCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731637963; 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=32CWkVIuRkapaT9H6NR4CxyIA6xmefJgsRdeVYacL6s=; b=QsnHGmuuWIZbSPBm/eqDAXHurI9kEORlIZwdAmHGu+LqGFSNxFQEbCf5595bPzTbL2RzUG 9y9IFYaI0iDQDl+lyjyEKLwXIkgoIMGbNd6+7xHs/xoYLZHCwDV8RwHKjT0Fidjq7zHB2T M6fImappCkaQTJp6UENNTlJ14EHaaOxxqAWGPpfd0aHAdg/oMTbsB+AXU3iMuaA/KB2Cnc LhLgJ2nwNotONRqUB6zIJengVknJm043BbsvZ/llXvcqeyoxp+fVwCiYjqupy9Q44xAoPI ZSnMrsChZQCne3ZfQ0XMPJqnHU+089crMLg8RQzn1J3uzBkqKPgn2RWVaHvu0w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731637963; a=rsa-sha256; cv=none; b=R0L86498O0wJK2ZKRFHIDKN7sBWxR41Z9sGEzdW/xFEExb20VxqXH8ewyxlhQM4n8UQPI2 ETHt+l99SyN/TYLtZxnzzYfgxXmF5DmfhQEqiff2NYNxcDOCmGnq1pIpErIbwwMA/Ji9qo jzES+NpZ5V25uVAzcfrFIt7RGJjjoIIlhbJvYzl0RvLUINeba63Ao1iNXsw1ayMspa5+6g z6Xvx3wusUq3tlH1KbagdspwpLEmtlwWaBKG15Ah9zUucbjaC7QfQZ1nKzZVoZVUrduAgT iRaxyCumiSweMiJVtViGfsP9hls+viKossSM6nOYxJcY35AIGCkvtQHOGWoguw== 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 4XqLf32s9mz14Xw; Fri, 15 Nov 2024 02:32:43 +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 4AF2WhdQ003897; Fri, 15 Nov 2024 02:32:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AF2WhZ3003894; Fri, 15 Nov 2024 02:32:43 GMT (envelope-from git) Date: Fri, 15 Nov 2024 02:32:43 GMT Message-Id: <202411150232.4AF2WhZ3003894@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: dfa0ac74c2fb - main - libc: indicate existing functions that are POSIX 2024 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: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: dfa0ac74c2fbc1cde3e8cdb1ab9fe5cbb90a9b16 Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=dfa0ac74c2fbc1cde3e8cdb1ab9fe5cbb90a9b16 commit dfa0ac74c2fbc1cde3e8cdb1ab9fe5cbb90a9b16 Author: Ed Maste AuthorDate: 2024-11-14 19:30:54 +0000 Commit: Ed Maste CommitDate: 2024-11-15 02:32:20 +0000 libc: indicate existing functions that are POSIX 2024 Reviewed by: brooks, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D47581 --- lib/libc/stdio/mktemp.3 | 5 ++++- lib/libc/stdio/printf.3 | 6 ++++++ lib/libc/stdlib/getenv.3 | 3 ++- lib/libc/stdlib/reallocarray.3 | 4 ++++ lib/libc/string/memmem.3 | 6 +++--- 5 files changed, 19 insertions(+), 5 deletions(-) diff --git a/lib/libc/stdio/mktemp.3 b/lib/libc/stdio/mktemp.3 index 93870f3865de..2b8b2d6c9e44 100644 --- a/lib/libc/stdio/mktemp.3 +++ b/lib/libc/stdio/mktemp.3 @@ -275,7 +275,10 @@ function is expected to conform to and is not specified by .St -p1003.1-2008 . The -.Fn mkostemp , +.Fn mkostemp +function conforms to +.St -p1003.1-2024 . +The .Fn mkstemps , .Fn mkostemps and diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index f2428740b529..b421a2a0985d 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -828,6 +828,12 @@ and .Fn vdprintf conform to .St -p1003.1-2008 . +The functions +.Fn asprintf +and +.Fn vasprintf +conform to +.St -p1003.1-2024 . .Sh HISTORY The functions .Fn asprintf diff --git a/lib/libc/stdlib/getenv.3 b/lib/libc/stdlib/getenv.3 index ded7bd61f735..1337ec867237 100644 --- a/lib/libc/stdlib/getenv.3 +++ b/lib/libc/stdlib/getenv.3 @@ -218,7 +218,8 @@ functions conforms to .St -p1003.1-2001 . The .Fn secure_getenv -function is expected to be glibc-compatible. +function conforms to +.St -p1003.1-2024 . .Sh HISTORY The functions .Fn setenv diff --git a/lib/libc/stdlib/reallocarray.3 b/lib/libc/stdlib/reallocarray.3 index d92be7d3f66b..80035c67a497 100644 --- a/lib/libc/stdlib/reallocarray.3 +++ b/lib/libc/stdlib/reallocarray.3 @@ -131,6 +131,10 @@ if ((newp = reallocarray(p, num, size)) == NULL) { .Ed .Sh SEE ALSO .Xr realloc 3 +.Sh STANDARDS +.Fn reallocarray +conforms to +.St -p1003.1-2024 . .Sh HISTORY The .Fn reallocarray diff --git a/lib/libc/string/memmem.3 b/lib/libc/string/memmem.3 index 5d8bcc84e31f..e301a0bd1e0f 100644 --- a/lib/libc/string/memmem.3 +++ b/lib/libc/string/memmem.3 @@ -67,10 +67,10 @@ is returned. .Xr memchr 3 , .Xr strchr 3 , .Xr strstr 3 -.Sh CONFORMING TO +.Sh STANDARDS .Fn memmem -started as a GNU extension but is now available in at least -the GNU, musl, bionic, OpenBSD, NetBSD, macOS, and illumos C runtime libraries. +conforms to +.St -p1003.1-2024 . .Sh HISTORY The .Fn memmem