From owner-freebsd-arch@FreeBSD.ORG Sat Dec 6 21:29:45 2008 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9057F1065672 for ; Sat, 6 Dec 2008 21:29:45 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 33F3A8FC1A for ; Sat, 6 Dec 2008 21:29:45 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [211.166.10.233]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id 6E1D128448 for ; Sun, 7 Dec 2008 05:29:44 +0800 (CST) Received: from localhost (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id 1AD46EBB0D2; Sun, 7 Dec 2008 05:29:44 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by localhost (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with ESMTP id mnUysHWq7lDR; Sun, 7 Dec 2008 05:29:39 +0800 (CST) Received: from charlie.delphij.net (c-67-180-38-12.hsd1.ca.comcast.net [67.180.38.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id EFAC1EBA837; Sun, 7 Dec 2008 05:29:37 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=O6EQBUygy5zmwfub1G7MI7hZ2T6sWPH03bujFqeqjto5XCKptfydjR+9ihpAvHFca 23vSb3i7IUsZf3d5RZ4uQ== Message-ID: <493AEEBD.9050101@delphij.net> Date: Sat, 06 Dec 2008 13:29:33 -0800 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Garrett Wollman References: <49381DD4.2000506@kasimir.com> <49382502.1040403@delphij.net> <200812042313.mB4NDA6j045334@hergotha.csail.mit.edu> In-Reply-To: <200812042313.mB4NDA6j045334@hergotha.csail.mit.edu> X-Enigmail-Version: 0.95.7 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: arch@freebsd.org Subject: Re: Adding strndup(3) to libc viable/useful? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Dec 2008 21:29:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Garrett Wollman wrote: > In article , > Peter Wemm writes: > >> glibc has had this for a long time and the trend for this function >> seems to be gaining ground. I think solaris is the last remaining >> major holdout. > > Many formerly glibc-only functions have been adopted in the current > (IEEE Std.1003.1-2008, ISO/IEC 9945:2009) POSIX revision. Is there a public available version on the Internet? Google turns out only an approval notice on Austin group... >> FWIW, there are a bunch of other useful utility str*() and mem*() >> functions that glibc has that we do not. > > Any of the functions that POSIX has adopted should definitely be > added. > >> I've run into the lack of fmemopen() in the past. I found an >> implementation from rwatson. > > fmemopen() is one of them. > > -GAWollman > > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkk67r0ACgkQi+vbBBjt66CNxQCfVT7AqvP5wzYcZ11HS1icuDno XBYAnj4l/AGiuxUf+PhzRaH3Skt9XEzc =n9ZK -----END PGP SIGNATURE-----