dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: id3.c: reading id3 tags, is this a bug?
From: TP Diffenbach (
Date: 2003-03-19

Ah, I can see where that might be useful. It might be more easily understand with a MANFEST_CONSTANT.

Quoting Linus Nielsen Feltzing <>:

> > A negative return from read, if I recall correctly, means that
> the
> > read failed. read_frame's caller is only interested in whether
> > read_frame's return value is less than zero.
> No, not if the caller will display the return code.
> > So why mutiply read's
> > return value by ten, and subtract one? What is this useful for?
> It is useful for debugging purposes. If each caller multiplies the
> return code by 10, we will be able to track the return code from
> each
> caller in the chain, and can see the exact chain of events from the
> return code only.
> /Linus

Archos FM needs a Rockbox!

Page was last modified "Jan 10 2012" The Rockbox Crew