Subject: Re: and param.h - take 2
To: Simon Burge <>
From: Chris G. Demetriou <>
List: tech-kern
Date: 05/05/1999 20:42:55
Simon Burge <> writes:
> I can't spend any more time on this today (real work - dang!), but
> here's something that works for all the cases I could think off of the
> top of my head.  There's no error checking, so 1.2B.3_ALPHA and other
> magically versions are possible.  I'll come back to it tomorrow if no
> one has beaten it to a pulp in the meantime...

Why don't you do / and % with powers of 10 to extract the right bits?
that seems ... easier than the field separation bits you used...

Chris Demetriou - -
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.