Mail Archives: cygwin/2010/10/28/13:28:41
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 <marco_atzeri AT yahoo DOT it>
|
Subject: | Re: libiconv
|
To: | cygwin AT cygwin DOT com, Samuel Thibault <samuel DOT thibault AT ens-lyon DOT org>
|
In-Reply-To: | <20101028171530.GD4884@const.famille.thibault.fr>
|
MIME-Version: | 1.0
|
X-IsSubscribed: | yes
|
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm
|
List-Id: | <cygwin.cygwin.com>
|
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
|
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com>
|
List-Archive: | <http://sourceware.org/ml/cygwin/>
|
List-Post: | <mailto:cygwin AT cygwin DOT com>
|
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
|
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 <iconv.h> to get the proper
> refname.
>=20
> Samuel
>=20
Hi Samuel,
#include <iconv.h>
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 <reent.h>
#include <sys/types.h>
#include <sys/_types.h>
/* 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
- Raw text -