Frank Hofmann writes:
> On Mon, 10 Sep 2007, James Carlson wrote:
> > I'd thought the accepted way to do this was to prefix with "ddi_" if
> > it was different from the user-space equivalent.  We've done this with
> > other functions, such as ddi_strtol(9F).
> 
> And we already do have:
> 
> http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/sys/ddi_implfuncs.h#227
> http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/os/devcfg.c#2404

Right; I'm suggesting renaming i_ddi_strdup to remove "i_", rather
than having "strdup" with the wrong arguments or inventing "kstrdup."

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to