From owner-freebsd-net Wed Aug 14 13:49:58 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC28137B400 for ; Wed, 14 Aug 2002 13:49:55 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3D8443E4A for ; Wed, 14 Aug 2002 13:49:54 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.5/8.12.3) with ESMTP id g7EKnm9R068169; Wed, 14 Aug 2002 14:49:49 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 14 Aug 2002 14:17:10 -0600 (MDT) Message-Id: <20020814.141710.82047657.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 From: "M. Warner Losh" In-Reply-To: <20020814121047.A21107@Odin.AC.HMC.Edu> References: <20020814105903.A8808@Odin.AC.HMC.Edu> <20020814.122515.26283996.imp@bsdimp.com> <20020814121047.A21107@Odin.AC.HMC.Edu> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message: <20020814121047.A21107@Odin.AC.HMC.Edu> Brooks Davis writes: : On Wed, Aug 14, 2002 at 12:25:15PM -0600, M. Warner Losh wrote: : > In message: <20020814105903.A8808@Odin.AC.HMC.Edu> : > Brooks Davis 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. : : I'm not seeing it anywhere. Are you sure? I was sure until I checked :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message