On Wed, Jul 11, 2012 at 02:11:56PM +0200, Han Boetes wrote:
> I found these typos in the stat(2) manpage:
Really? I think it already was explained. This morning.
-Otto
>
>
> Index: sys/stat.2
> ===================================================================
> RCS file: /cvs/src/lib/libc/sys/stat.2,v
> retrieving revision 1.31
> diff -u -p -r1.31 stat.2
> --- sys/stat.2 17 Nov 2011 14:26:14 -0000 1.31
> +++ sys/stat.2 10 Jul 2012 18:45:20 -0000
> @@ -149,9 +149,9 @@ struct stat {
> uid_t st_uid; /* user ID of the file's owner */
> gid_t st_gid; /* group ID of the file's group */
> dev_t st_rdev; /* device type */
> - struct timespec st_atim; /* time of last access */
> - struct timespec st_mtim; /* time of last data modification */
> - struct timespec st_ctim; /* time of last file status change */
> + struct timespec st_atime; /* time of last access */
> + struct timespec st_mtime; /* time of last data modification */
> + struct timespec st_ctime; /* time of last file status change */
> off_t st_size; /* file size, in bytes */
> int64_t st_blocks; /* blocks allocated for file */
> u_int32_t st_blksize;/* optimal blocksize for I/O */