From owner-freebsd-arch@FreeBSD.ORG Thu Feb 23 18:23:45 2012 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 9046A106566C for ; Thu, 23 Feb 2012 18:23:45 +0000 (UTC) (envelope-from wollman@hergotha.csail.mit.edu) Received: from hergotha.csail.mit.edu (wollman-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:ccb::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3EF258FC1A for ; Thu, 23 Feb 2012 18:23:45 +0000 (UTC) Received: from hergotha.csail.mit.edu (localhost [127.0.0.1]) by hergotha.csail.mit.edu (8.14.4/8.14.4) with ESMTP id q1NIMQcm020805; Thu, 23 Feb 2012 13:22:26 -0500 (EST) (envelope-from wollman@hergotha.csail.mit.edu) Received: (from wollman@localhost) by hergotha.csail.mit.edu (8.14.4/8.14.4/Submit) id q1NIMQOd020804; Thu, 23 Feb 2012 13:22:26 -0500 (EST) (envelope-from wollman) Date: Thu, 23 Feb 2012 13:22:26 -0500 (EST) From: Garrett Wollman Message-Id: <201202231822.q1NIMQOd020804@hergotha.csail.mit.edu> To: des@des.no X-Newsgroups: mit.lcs.mail.freebsd-arch In-Reply-To: <86r4xl8lw0.fsf@ds4.des.no> References: <4F3C28DD.1020003@FreeBSD.org> <4F3C2D2D.5000402@FreeBSD.org> <4F3E78BA.4060203@FreeBSD.org> <864nupcuvl.fsf@ds4.des.no> <4F3E7B5A.20103@FreeBSD.org> <86zkchbff6.fsf@ds4.des.no> <4F3EADB5.7060008@FreeBSD.org> <20120223170918.GA79013@zim.MIT.EDU> Organization: none X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (hergotha.csail.mit.edu [127.0.0.1]); Thu, 23 Feb 2012 13:22:26 -0500 (EST) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=disabled version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hergotha.csail.mit.edu Cc: arch@freebsd.org Subject: Re: bsd/citrus iconv X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 18:23:45 -0000 In article <86r4xl8lw0.fsf@ds4.des.no>, des@des.no writes: >It's a question of semantics... it's an extension (part of the >_XOPEN_UNIX option group), but if supported, it's supposed to be part of >libc. I don't think the SUS states this explicitly, but it's implied by >the lack of mention of a separate iconv library in the c99 man page. POSIX doesn't specify libc or any other library. It specifies (by omission) that the function shall be available when the "c99" command is used without any special "-l" arguments (such as "-l rt"). It can be located in any library, so long as "c99" always includes that library when building an executable. (Of course, we don't support _XOPEN_UNIX and probably never will, but that would be the requirement if we did.) -GAWollman