Parse glibc header file

Carlos O'Donell carlos@systemhalted.org
Fri Oct 8 11:33:00 GMT 2010


On Fri, Oct 8, 2010 at 5:55 AM, Davide Italiano
<davide.italiano@gmail.com> wrote:
> Hi. I'm trying to parse glibc header files.
> My aim is to isolate function prototypes and put that in another
> header file generated from the first one.
> I'm getting frustrated from not of interest things like __THROW ,
> __BEGIN_NAMESPACE_STD , __wur and so on.
> Is there a way to strip these?

Sorry, is the question "Does a program exist to manipulate header
files?" You can use perl, sed, python, or anything to pre-process the
header files into whatever format you want.

What problem are you running into?

Cheers,
Carlos.



More information about the Libc-help mailing list