This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fwd: Got any 'fileno_unlocked'?



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

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]