From owner-freebsd-doc@FreeBSD.ORG Mon Feb 18 07:37:47 2008 Return-Path: Delivered-To: docs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A2FA16A419 for ; Mon, 18 Feb 2008 07:37:47 +0000 (UTC) (envelope-from andy@siliconlandmark.com) Received: from lexi.siliconlandmark.com (lexi.siliconlandmark.com [66.184.117.4]) by mx1.freebsd.org (Postfix) with ESMTP id 0201313C447 for ; Mon, 18 Feb 2008 07:37:46 +0000 (UTC) (envelope-from andy@siliconlandmark.com) Received: from [10.0.1.98] (c-68-60-40-2.hsd1.mi.comcast.net [68.60.40.2]) by lexi.siliconlandmark.com (8.13.8/8.13.8) with ESMTP id m1I7PkJn006975 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 18 Feb 2008 02:25:46 -0500 (EST) (envelope-from andy@siliconlandmark.com) Message-Id: From: Andre Guibert de Bruet To: docs@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Mon, 18 Feb 2008 02:25:45 -0500 X-Mailer: Apple Mail (2.919.2) X-Virus-Scanned: ClamAV 0.92/5866/Mon Feb 18 00:34:25 2008 on lexi.siliconlandmark.com X-Virus-Status: Clean X-Information: Please contact the ISP for more information X-SL-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-SL-SpamCheck: not spam, SpamAssassin (not cached, score=-0.868, required 6, AWL 0.16, BAYES_00 -2.60, RCVD_IN_SORBS_DUL 0.88, RDNS_DYNAMIC 0.10, SPF_SOFTFAIL 0.60) X-MailScanner-From: andy@siliconlandmark.com Cc: Subject: strdup(3) man page X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2008 07:37:47 -0000 Hi, A discussion I had on freenode's ##c brought about the question of FreeBSD's strdup standards compliance. From what I gather, strdup is present in the "IEEE Std 1003.1, 2004 Edition" standard and quite possibly the POSIX.1-2001 version too. The man-page also mentions that the function first appeared in 4.4BSD but numerous sites on the net claim that it was 4.3BSD that brought it about. Does FreeBSD's implementation conform to these as well as SVr4? Cheers, Andy /* Andre Guibert de Bruet * 436f 6465 2070 6f65 742e 2042 6974 206a */ /* Code poet / Consultant * 6f63 6b65 792e 2053 7973 4164 6d69 6e2e */ /* GSM: +1 734 846 8758 * 2055 4e49 5820 736c 6575 7468 2e00 0000 */ /* WWW: siliconlandmark.com * C/C++, Java, Perl, PHP, SQL, XHTML, XML */