in reply to Inline C: using stderr segfaults?

Works for me as well, perl 5.8.8, gcc 4.1.2, on Debian GNU/Linux "Etch", 32 bit.