delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/22/20:05:39

X-Spam-Check-By: sourceware.org
Date: Tue, 22 Aug 2006 20:05:28 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: write() or read() returning ENOENT status
Message-ID: <20060823000528.GA27240@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <E05F1FD208D5AA45B78B3983479ECF08C0905F AT saturn DOT p3corpnet DOT pivot3 DOT com>
Mime-Version: 1.0
In-Reply-To: <E05F1FD208D5AA45B78B3983479ECF08C0905F@saturn.p3corpnet.pivot3.com>
User-Agent: Mutt/1.5.11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019