summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-11-05 14:52:47 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-11-05 14:52:47 +0000
commit946c083a99f059dbd892de85d207845d00811e27 (patch)
tree048fb1a5155ad4b69bc2aa24f619aec8b89fec38 /lib/libc
parentb41395258a27d4dda9c14e1b166c4252e20586f1 (diff)
sync the comments for struct stat w/ <sys/stat.h>;
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/stat.218
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2
index f16a8581cd5..294e6e316d8 100644
--- a/lib/libc/sys/stat.2
+++ b/lib/libc/sys/stat.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: stat.2,v 1.23 2007/05/31 19:19:34 jmc Exp $
+.\" $OpenBSD: stat.2,v 1.24 2007/11/05 14:52:46 jmc Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)stat.2 8.3 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: November 5 2007 $
.Dt STAT 2
.Os
.Sh NAME
@@ -90,19 +90,19 @@ as defined by
and into which information is placed concerning the file.
.Bd -literal
struct stat {
- dev_t st_dev; /* device inode resides on */
+ dev_t st_dev; /* inode's device */
ino_t st_ino; /* inode's number */
- mode_t st_mode; /* inode's mode */
- nlink_t st_nlink; /* number of hard links to the file */
- uid_t st_uid; /* user ID of owner */
- gid_t st_gid; /* group ID of owner */
- dev_t st_rdev; /* device type, for special file inode */
+ mode_t st_mode; /* inode protection mode */
+ nlink_t st_nlink; /* number of hard links */
+ 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_atimespec; /* time of last access */
struct timespec st_mtimespec; /* time of last data modification */
struct timespec st_ctimespec; /* 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 file sys I/O ops blocksize */
+ u_int32_t st_blksize;/* optimal blocksize for I/O */
u_int32_t st_flags; /* user defined flags for file */
u_int32_t st_gen; /* file generation number */
};