svn commit: r194838 - projects/libprocstat/sys/sys
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
> - 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.
typedef __uint16_t __mode_t; /* permissions */
typedef __int64_t __off_t; /* file offset */
typedef __uint32_t __dev_t; /* device number */
More information about the svn-src-projects