X-Spam-Check-By: sourceware.org Message-ID: <4464BB90.5090608@sh.cvut.cz> Date: Fri, 12 May 2006 18:45:04 +0200 From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Fwd: Got any 'fileno_unlocked'? References: In-Reply-To: OpenPGP: id=733031B4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig31A316131070B65FE409EB05" X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --------------enig31A316131070B65FE409EB05 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 >=20 > undefined reference to `_fileno_unlocked' >=20 > 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 --------------enig31A316131070B65FE409EB05 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRGS7lm56zbtzMDG0AQKQoggAneu/8snmp7C1WQDqSZgQ2ruRDmRm+kiW B6h1Rlwqjbe0h+JJorIVMU/0bcS72hqWLExUEr/WtW/geGIMovITUA7NcWA1gFsW 0gLpHdp/qAGbfWgn/jyWa+FtX/yZAHGevVO6c/cvJMp6L9Cj0c6tQuOnsIkcAiRP jRYqGP4ao+VNqu2gWK2CTq2LaTCrs4euh+8sanRTISa0UxTDlOqhVwS9xvBUCJCl TT6NW8o427rRDljAKQVTt+CXht5UC1RNxCFg4AtwfO5pYMGknSke5gHwjt9rn7ZC MZQCvtpUj1CcBbw80kawNM3VTzejvdOnC0fDQBvugWmntP4ro4RaWw== =GO9s -----END PGP SIGNATURE----- --------------enig31A316131070B65FE409EB05--