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:jkat_private> <URL:mailto:espyat_private> <URL:http://web.espy.org/> <URL:http://www.debian.org/>
This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 15:38:49 PDT