This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: write() or read() returning ENOENT status


On Tue, Aug 22, 2006 at 07:03:06PM -0500, Loh, Joe wrote:
>Can anyone tell us what Windows error status gets mapped as ENOENT
>return status for wite() or read() system calls?  We have a test
>program that runs for hours, sometimes days doing constant I/O to an
>iSCSI volume and sporadically we will get an ENOENT return status from
>either the write() or read() system calls.

  % grep ENOENT errno.cc
    X (BAD_PATHNAME,              ENOENT),
    X (FILE_NOT_FOUND,            ENOENT),
    X (INVALID_NAME,              ENOENT),
    X (MOD_NOT_FOUND,             ENOENT),
    X (PATH_NOT_FOUND,            ENOENT),
  /* ENOENT 2 */            "No such file or directory",

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]