tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libcodecs(3), take 4

On Sat, 2 Oct 2010 08:13:25 +0200
Alistair Crooks <> wrote:

> That's true for some libraries, but not for all of them.  At the same
> time, printing error messages is far superior to the practise of
> returning enumerated error values (like regexp libraries), or stacking
> them up and vomiting them up at a later stage.

Although if the library is expected to be used by C software or sh
scripts, how could they evaluate what went wrong if all they have is an
arbitrary error string?


Home | Main Index | Thread Index | Old Index