From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29330 invoked from network); 31 May 2023 10:05:53 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 31 May 2023 10:05:53 -0000 Received: (qmail 17798 invoked by uid 550); 31 May 2023 10:05:45 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 17760 invoked from network); 31 May 2023 10:05:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=C4jdDBTgv4wU5kejV6JMhOzZcpCwG2q64+tqdOSFpsk=; b=fjHiYRo3tqVNzIg/0mB0HJfvCNPCjOWSWDuyq0gv7WFJD3fCHto//3qW 0734FOsNKSmbafp1UKlEGuaVfg/sGDnxEMf1v8MsMCAEmwfy7gmlRnfNf B5z49D4F5iyv7pOIHWTirBVG3JgPP+oAxr1lUyTsrmXW9dEHkX3awcjnh A=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=Jens.Gustedt@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.00,205,1681164000"; d="scan'208";a="57434659" From: Jens Gustedt To: musl@lists.openwall.com Date: Wed, 31 May 2023 12:05:14 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [musl] [C23 new stdlib 0/3] v8, taking into account Rich's feedback Jens Gustedt (3): C23: add the new interfaces free_sized and free_aligned_sized for stdlib.h C23: add the memalignment function C23: implement the new strfrom[dfl] functions dynamic.list | 2 ++ include/stdlib.h | 8 ++++++ src/malloc/free_aligned_sized.c | 6 +++++ src/malloc/free_sized.c | 7 ++++++ src/stdlib/memalignment.c | 8 ++++++ src/stdlib/strfromd.c | 44 +++++++++++++++++++++++++++++++++ 6 files changed, 75 insertions(+) create mode 100644 src/malloc/free_aligned_sized.c create mode 100644 src/malloc/free_sized.c create mode 100644 src/stdlib/memalignment.c create mode 100644 src/stdlib/strfromd.c -- 2.34.1