Date: Thu, 23 Feb 2012 19:46:54 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Garrett Wollman <wollman@hergotha.csail.mit.edu> Cc: arch@freebsd.org Subject: Re: bsd/citrus iconv Message-ID: <86lint8k0x.fsf@ds4.des.no> In-Reply-To: <201202231822.q1NIMQOd020804@hergotha.csail.mit.edu> (Garrett Wollman's message of "Thu, 23 Feb 2012 13:22:26 -0500 (EST)") 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> <201202231822.q1NIMQOd020804@hergotha.csail.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Wollman <wollman@hergotha.csail.mit.edu> writes: > 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. I beg to differ. The c99 man page explicitly lists a number of libraries (libc, libi, libpthread, libm, librt, libtrace, libxnet and liby), and states that libc will contain all functions *except* those defined in a short list of headers. This list does not include <iconv.h>; therefore, iconv must be in libc, cf. the original meaning of "the exception that proves the rule". DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86lint8k0x.fsf>