My apologies, Vadim!  I meant this:

int
mingwlisten(FILE *fp) {

int c=0;
ioctlsocket(fileno(fp),FIONREAD,&c);
if (c<=0)
   return 1;
return 0;

}               

Thanks again as always!

-- 
Camm Maguire                                            [EMAIL PROTECTED]
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah


_______________________________________________
Gcl-devel mailing list
Gcl-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/gcl-devel

Reply via email to