Subject: Re: CVS commit: src/sys/dev/pci
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: source-changes
Date: 04/18/2006 01:45:45
In article <20060418012317.GA24657@mewburn.net>,
Luke Mewburn  <lukem@NetBSD.org> wrote:

>IMHO, strncpy() should only be used when copying to a destination
>where the API for that destination doesn't need a NUL termination,
>such as the disklabel(5) type & pack fields, or utmp(5) fields.

Or when you want to make sure that you zero out the whole remaining
buffer.

christos