select function result is inconsistent with description man page
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > select function result is inconsistent with description man page




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    select function result is inconsistent with description man page  
hao


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-31-05 12:49 PM

Did anybody meet the strange phenomena?
select return  -1, but error is ETIME. which is different form man
page of solaris. select is invoked as block.






[ Post a follow-up to this message ]



    Re: select function result is inconsistent with description man page  
Valentin Nechayev


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-31-05 12:49 PM


Sat, Dec 31, 2005 at 01:39:06, haow80 (hao) wrote about "select function res
ult is inconsistent with  description man page":

h>     Did anybody meet the strange phenomena?
h>     select return  -1, but error is ETIME. which is different form man
h> page of solaris. select is invoked as block.

Error lists in man pages are incomplete by definition and list only
most typical problems.


-netch-





[ Post a follow-up to this message ]



    Re: select function result is inconsistent with description man page  
David Schwartz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-31-05 10:54 PM


"hao" <haow80@gmail.com> wrote in message
news:1136021946.738718.298410@g49g2000cwa.googlegroups.com...

>    Did anybody meet the strange phenomena?
>    select return  -1, but error is ETIME. which is different form man
> page of solaris. select is invoked as block.

Post the smallest complete, compilable program that demonstrates this
problem. I'll bet there's going to be a bug of some sort in it. The 'select'
function should return zero when it times out.

DS







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:09 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register