Gerald Jelinek writes:
>         ddi_strtoll     Committed  In <sys/sunddi.h> under _KERNEL
>         ddi_strtoull    Committed  In <sys/sunddi.h> under _KERNEL

+1

(One nit: I think the proposal was a touch too long; the above two
lines would have been sufficient given the prior art.)

Garrett D'Amore writes:
> Perhaps a good extension to this case would be to define ddi_strtou32(), 
> ddi_strtos32(), ddi_strtou64(), and ddi_strtos64()?

That sounds like a subject for a different project.

I agree that it'd be nice to have conversions that match the standard
types (beyond just the base types), but that's not what we have in
libc, and I'd rather see a concerted effort to make a new set of
interfaces (probably not designed on this list) than an ad-hoc set of
additions.

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to