Fwd: Got any 'fileno_unlocked'?

2006-05-12 Thread Rick Hanson
Hi! I'm trying to build some software under cygwin which has calls to a library function called 'fileno_unlocked'. My cygwin gcc cannot find it, i.e. I get undefined reference to `_fileno_unlocked' at linktime. This function is apparently in libc on Linux and BSD-like systems. Where can I fi

Re: Fwd: Got any 'fileno_unlocked'?

2006-05-12 Thread Rick Hanson
Thanks for the tip. I already tried knocking off the '_unlocked' suffix. Although it does compile, I wonder what kind of runtime trouble I'm going to get into, since I did notice, by scanning the code, that the programmer locks his own file, then appeals to 'fileno_unlocked'. Also, there is no