B
Benjamin Rutt
Does anyone have a database of C standard library functions? or even
clean header files with just the prototypes? when I look at my
system's header files, I see a bunch of "implementation details"
around the actual functions, such as:
extern int atoi (__const char *__nptr) __THROW __attribute_pure__;
which is not as clean as
int atoi(const char *nptr);
The reason I want this is I'm writing a programming tool that could
help make it easier to use the standard library by having knowledge of
all the functions within it, and their parameter names & types and
return values. actually, a database with the return type, function
name, and each parameter type already separated, would be preferred of
course, that way I don't have to parse C at all. But I guess parsing
clean prototypes isn't that hard, so I would gladly accept that as
well.
Thanks in advance for any pointers.
clean header files with just the prototypes? when I look at my
system's header files, I see a bunch of "implementation details"
around the actual functions, such as:
extern int atoi (__const char *__nptr) __THROW __attribute_pure__;
which is not as clean as
int atoi(const char *nptr);
The reason I want this is I'm writing a programming tool that could
help make it easier to use the standard library by having knowledge of
all the functions within it, and their parameter names & types and
return values. actually, a database with the return type, function
name, and each parameter type already separated, would be preferred of
course, that way I don't have to parse C at all. But I guess parsing
clean prototypes isn't that hard, so I would gladly accept that as
well.
Thanks in advance for any pointers.