This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What is the correct way of creating custom gconv module?


On 07/15/2016 10:51 AM, Rafał Długołęcki wrote:
Manual (https://www.gnu.org/software/libc/manual/html_node/glibc-iconv-Implementation.html)
describes implementation of 3 functions. As I understand I will need
to write them by hand.

I also found that there are iconv/loop.c and iconv/skeleton.c which
could be used relatively easy for custom module. But in commit:
5fe8e359 added on 2015-01-27 09:37:04 +0100, there was in loop.c
added:
#include <libc-internal.h>

This raised my doubts if these files should be used only internally by
glibc developers.
My question is: could I use loop.c and skeleton.c or should this be avoided?

You can use these files only if you compile your gconv module as part of glibc.

Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]