Parse glibc header file

Mike Frysinger
Fri Oct 8 17:23:00 GMT 2010

On Friday, October 08, 2010 08:13:23 Davide Italiano wrote:
> I'm running in the problem that gcc -E doesn't remove things like
> __wur or __THROW and I managed it using sed removing one by one the
> patterns but I was looking for a more general way/

works just fine for me.  you need to provide some actual details instead of 
vague statements.

$ grep -c wur /usr/include/unistd.h
$ echo '#incude <unistd.h>' | gcc -E - | grep -c wur
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the Libc-help mailing list