Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2011 19:51:23 -0500 (CDT)
From:      Robert Bonomi <bonomi@mail.r-bonomi.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: need to check for hex in C: how/
Message-ID:  <201110170051.p9H0pNeP065733@mail.r-bonomi.com>
In-Reply-To: <20111016230654.GB1112@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> Date: Sun, 16 Oct 2011 16:06:54 -0700
> From: Gary Kline <kline@thought.org>
> Subject: Re: need to check for hex in C: how/
>
> this will bbe my 'sanity-checck' of sorts.  the ck function will
> have something like:
>
> if ((char)x == 'a')
> {
> }
>

And, you deserve what happens if you use that kind of flawed checking. :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110170051.p9H0pNeP065733>