X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.0 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Message-ID: <774179.77535.qm@web25505.mail.ukl.yahoo.com> Date: Thu, 28 Oct 2010 18:28:27 +0100 (BST) From: Marco Atzeri Subject: Re: libiconv To: cygwin AT cygwin DOT com, Samuel Thibault In-Reply-To: <20101028171530.GD4884@const.famille.thibault.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --- Gio 28/10/10, Samuel Thibault ha scritto: > Marco Atzeri, le Thu 28 Oct 2010 > 18:08:18 +0100, a =E9crit : > > is the additional "lib" correct ? >=20 > Yes. You need to #include to get the proper > refname. >=20 > Samuel >=20 Hi Samuel, #include it is already there and /usr/include/iconv.h seems to not include=20 libiconv* function but only iconv* ones ------------------------------------------- #ifndef _ICONV_H_ #define _ICONV_H_ #include <_ansi.h> #include #include #include /* iconv_t: charset conversion descriptor type */ typedef _iconv_t iconv_t; _BEGIN_STD_C #ifndef _REENT_ONLY iconv_t _EXFUN(iconv_open, (_CONST char *, _CONST char *)); size_t _EXFUN(iconv, (iconv_t, char **, size_t *, char **, size_t *)); int _EXFUN(iconv_close, (iconv_t)); #endif iconv_t _EXFUN(_iconv_open_r, (struct _reent *, _CONST char *, _CONST char *)); size_t _EXFUN(_iconv_r, (struct _reent *, iconv_t, _CONST char **, size_t *, char **, size_t *)); int _EXFUN(_iconv_close_r, (struct _reent *, iconv_t)); _END_STD_C #endif /* #ifndef _ICONV_H_ */ -------------------------------------------- Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple