Re: vfs references to strncpy and MFSNAMELEN

2014-05-04 Thread Héctor Luis Gimbatti
te string for the function you mention. Best regards -Original Message- From: owner-t...@openbsd.org [mailto:owner-t...@openbsd.org] On Behalf Of patrick keshishian Sent: viernes, 02 de mayo de 2014 00:17 To: tech@openbsd.org; Héctor Luis Gimbatti Subject: Re: vfs references to strncpy and M

Re: vfs references to strncpy and MFSNAMELEN

2014-05-01 Thread patrick keshishian
On 4/29/14, H??ctor Luis Gimbatti wrote: > The constant MFSNAMELEN as defined in: > > lib/libc/sys/getfsstat.2:#define MFSNAMELEN 16 > lib/libc/sys/statfs.2:#define MFSNAMELEN 16 > sys/sys/mount.h: #define MFSNAMELEN 16 > > defines the fs type name and, according to comments, it inclu

vfs references to strncpy and MFSNAMELEN

2014-04-29 Thread Héctor Luis Gimbatti
The constant MFSNAMELEN as defined in: lib/libc/sys/getfsstat.2:#define MFSNAMELEN 16 lib/libc/sys/statfs.2:#define MFSNAMELEN 16 sys/sys/mount.h: #define MFSNAMELEN 16 defines the fs type name and, according to comments, it includes nul terminating character. The following code mak