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: Parse glibc header file


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.


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