Penguin

Differences between current version and previous revision of EBADF.

Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History

Newer page: version 3 Last edited on Wednesday, February 19, 2003 1:37:19 am by PerryLorier
Older page: version 2 Last edited on Wednesday, February 19, 2003 1:36:33 am by PerryLorier Revert
@@ -1,5 +1,5 @@
 !!!Bad File Descriptor 
  
 The file descriptor passed to a syscall was out of range, or was not open, or is invalid for the function requested. 
  
-This is usually a programming bug, you forgot to call open(2), or socket(2), or something. 
+This is usually a programming bug, you forgot to call open(2), or socket(2), or something or they returned an error. Check to see if the file descriptor is -1, if it is, then you should check errno for why it failed. see the man pages for open(2) or socket(2) for more information