2010-12-19 04:38:28 +00:00
|
|
|
/*
|
|
|
|
* Simple iconv library stub so that programs have something to link against
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stddef.h>
|
2010-12-22 01:56:37 +00:00
|
|
|
#include <iconv.h>
|
2010-12-19 04:38:28 +00:00
|
|
|
|
2010-12-22 01:56:37 +00:00
|
|
|
int _libiconv_version = _LIBICONV_VERSION;
|
2010-12-19 04:38:28 +00:00
|
|
|
|
|
|
|
iconv_t iconv_open (const char *tocode, const char *fromcode)
|
|
|
|
{
|
|
|
|
return (iconv_t)(-1);
|
|
|
|
}
|
|
|
|
|
|
|
|
size_t iconv (iconv_t cd, char **inbuf, size_t *inbytesleft,
|
|
|
|
char **outbuf, size_t *outbytesleft)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int iconv_close (iconv_t cd)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|