login.c:176: `FIONBIO' undeclared
Christian Wolf
Christian.Wolf at medis.de
Mon Mar 20 11:37:17 EST 2000
On Mon, 20 Mar 2000, Brian Bruns wrote:
> Long time no see! That is part of the changes inline.net submitted to go
> along with their ODBC driver. Let me reasearch it a bit. Perhaps Solaris
> needs an extra header file.
Yes, #include <sys/filio.h> fixes the problem, but I'm not sure, if it will
work. You migh better use somethink like
fcntl( sd, F_SETFL, FNONBLOCK | FASYNC )
instead of ioctl( sd, FIONBIO, ... ). This will work on Solaris 2.x,
FreeBSD and Linux.
Regards,
Chris
--
Christian Wolf; <Christian.Wolf at MedIS.DE>; Tel.: +49-40-76696-306 /\
MedIS - Medizinische Informations- und Steuerungssysteme GmbH /\/\
Grossmoorbogen 25, 21079 Hamburg /\/\/\
________________________________________________________________/\/\/\/\
More information about the FreeTDS
mailing list