Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2002 12:25:15 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        brooks@one-eyed-alien.net
Cc:        julian@elischer.org, bde@zeta.org.au, net@FreeBSD.ORG
Subject:   Re: switching to if_xname from if_name and if_unit
Message-ID:  <20020814.122515.26283996.imp@bsdimp.com>
In-Reply-To: <20020814105903.A8808@Odin.AC.HMC.Edu>
References:  <20020814095606.A32608@Odin.AC.HMC.Edu> <Pine.BSF.4.21.0208141020200.22277-100000@InterJet.elischer.org> <20020814105903.A8808@Odin.AC.HMC.Edu>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20020814105903.A8808@Odin.AC.HMC.Edu>
            Brooks Davis <brooks@one-eyed-alien.net> writes:
: > > to use.  The obvious thing is strlcpy, but I don't think we have that in
: > > the kernel.  We could use strncpy with the usual tricks or snprintf.

strlcpy is in the kernel now.

As for long device names, that's orthogonal to what we're talking
about.  I'd just go ahead and do this.

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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