in reply to Compilation error while using Fcntl

It's spelled O_CREAT, not 0_CREAT. The first character is a capital "o", not a zero.

Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart