Find the answer to your Linux question:
Results 1 to 2 of 2
can anyone explain me the reasons why a select can fail returning a -EINVAL error..?? i checked the man page...but all the arguments to the select are fine...the fd,timeout etc ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    gns
    gns is offline
    Just Joined!
    Join Date
    Nov 2008
    Posts
    1

    Unhappy Select failure EINVAL


    can anyone explain me the reasons why a select can fail returning a -EINVAL error..??

    i checked the man page...but all the arguments to the select are fine...the fd,timeout etc are fine...but still it fails returning a invalid argument.........is there any other case where this can happen.....??????

  2. #2
    Just Joined!
    Join Date
    Oct 2009
    Posts
    85
    when u get a failure.. try to print the perror output..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •