Differences between current version and predecessor to the previous major change of EBADF.

Other diffs: Previous 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 1 Last edited on Thursday, November 7, 2002 12:01:29 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. 
+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