svn commit: r194838 - projects/libprocstat/sys/sys
John Baldwin
jhb at freebsd.org
Wed Jun 24 15:22:25 UTC 2009
On Wednesday 24 June 2009 11:00:45 am Ulf Lilleengen wrote:
> Author: lulf
> Date: Wed Jun 24 15:00:45 2009
> New Revision: 194838
> URL: http://svn.freebsd.org/changeset/base/194838
>
> Log:
> - Use the spare fields instead of expanding the struct.
> - Use types with known size.
Note that mode_t and dev_t have fixed sizes already and are fine to use, same
with off_t for the file size.
From <sys/_types.h>:
typedef __uint16_t __mode_t; /* permissions */
typedef __int64_t __off_t; /* file offset */
typedef __uint32_t __dev_t; /* device number */
--
John Baldwin
More information about the svn-src-projects
mailing list