Date: Wed, 25 Aug 1999 13:37:46 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Martin Peach cc: djgpp AT delorie DOT com Subject: Re: Do Error Messages Really Help? In-Reply-To: <7pu789$975@tandem.CAM.ORG> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Tue, 24 Aug 1999, Martin Peach wrote: > It sure would be useful to have stuff like ENOENT written out in long, I > keep trying to guess what it might possibly stand for. You shouldn't be guessing, because the error message doesn't say "ENOENT", it says "No such file or directory (ENOENT)". In other words, it tells you the problem in human-readable English, and *then* also tells you that the mnemonic for this error is ENOENT. The reason for this mnemonic and not some other is compatibility: many programs do comparisons on errno values, like this: if (errno == ENOENT) process_the_case_of_a_missing_file ();