Fwd: Got any 'fileno_unlocked'?

Václav Haisman V.Haisman@sh.cvut.cz
Fri May 12 16:45:00 GMT 2006


Rick Hanson wrote:
> 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 find it on cygwin? Thanks for any
> help. --Rick
Just use plain fileno(). All the *_unlocked() functions are AFAIK just
unlocked/thread unsfe versions of functions named before the underscore.
The software you are trying to build should detect its (non)existence in
its configure script and deal with it.
--
VH
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 544 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20060512/262e09b3/attachment.sig>


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /