At 18:39 -0500 2000-03-01, Branden Robinson wrote:
>        call with an fclose and a redirection of the stderr stream.  While
>        I was at it I added a #include for the header file that the getpt()
>        function is protyped in to try and silence a compiler warning.  I
>        then found out that glibc doesn't actually have a prototype for it
>        in their header files (contrary to their documentation).

Yes it does, getpt() is a GNU extension, therefore you have to define the
_GNU_SOURCE macro in order to get the prototype.
--
Joel Klecker (aka Espy)                    Debian GNU/Linux Developer
<URL:mailto:[EMAIL PROTECTED]>                 <URL:mailto:[EMAIL PROTECTED]>
<URL:http://web.espy.org/>               <URL:http://www.debian.org/>

Reply via email to