Unix Programming - select function result is inconsistent with description man page

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > December 2005 > select function result is inconsistent with description man page





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author select function result is inconsistent with description man page
hao

2005-12-31, 7:49 am

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.

Valentin Nechayev

2005-12-31, 7:49 am


Sat, Dec 31, 2005 at 01:39:06, haow80 (hao) wrote about "select function result 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-
David Schwartz

2005-12-31, 5: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


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com