Subject: Re: ftruncate: ENOSPC?
To: Chapman Flack <nblists@anastigmatix.net>
From: Iain Hibbert <plunky@rya-online.net>
List: tech-kern
Date: 06/26/2006 21:34:50
On Mon, 26 Jun 2006, Chapman Flack wrote:

> The difference is, our page really does say ENOSPC can't happen, and
> we don't mean it. We should change the page.

While technically that may be correct, if you look at intro(2) it says

     The manual page for each system call will list some of the common errno
     codes that system call can return, but that should not be considered an
     exhaustive list, i.e.  a properly written program should be able to
     gracefully recover from any error that a system call might return.  Docu-
     menting all the error codes that a system call can return in a more spec-
     ification-like manner would take more resources than this project has
     available.

iain