Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Read errors
From: Nix (nix_at_esperi.demon.co.uk)
Date: 2003-03-15


On Fri, 14 Mar 2003, Linus Nielsen Feltzing mused:
> The if(func()) construct is a de facto standard in the C language.

Well, there are a number of examples of it in the C Standard (in
the examples), and K&R uses it extensively.

It's probably the most common idiom in C (perhaps beaten by the old

if ((foo=(blah *)malloc(sizeof (blah)))==NULL)

one...)

-- 
#ifdef USE_ISPTS_FLAG
		} else {	/* else pty, not pts */
#endif



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