diff options
author | dima <dima@FreeBSD.org> | 1998-10-21 09:48:35 +0000 |
---|---|---|
committer | dima <dima@FreeBSD.org> | 1998-10-21 09:48:35 +0000 |
commit | 98c5904a24278eb1aab04769afd17a38edfe46e1 (patch) | |
tree | 1ef905789606ab8dbdcb8d91a0b2f641c01ab8f6 /lib | |
parent | 4cc78e2c041207cbe8c77e6239c26797b32d02cb (diff) | |
download | FreeBSD-src-98c5904a24278eb1aab04769afd17a38edfe46e1.zip FreeBSD-src-98c5904a24278eb1aab04769afd17a38edfe46e1.tar.gz |
Fix types.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/stat.2 | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2 index 50d489a..6e5ffee 100644 --- a/lib/libc/sys/stat.2 +++ b/lib/libc/sys/stat.2 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)stat.2 8.4 (Berkeley) 5/1/95 -.\" $Id: stat.2,v 1.12 1997/03/11 11:35:55 peter Exp $ +.\" $Id: stat.2,v 1.13 1998/01/02 19:22:49 alex Exp $ .\" .Dd May 1, 1995 .Dt STAT 2 @@ -94,30 +94,30 @@ as defined by and into which information is placed concerning the file. .Bd -literal struct stat { - dev_t st_dev; /* inode's device */ - ino_t st_ino; /* inode's number */ - 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 */ + dev_t st_dev; /* inode's device */ + ino_t st_ino; /* inode's number */ + 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 */ #ifndef _POSIX_SOURCE 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 */ #else - time_t st_atime; /* time of last access */ - long st_atimensec; /* nsec of last access */ - time_t st_mtime; /* time of last data modification */ - long st_mtimensec; /* nsec of last data modification */ - time_t st_ctime; /* time of last file status change */ - long st_ctimensec; /* nsec of last file status change */ + time_t st_atime; /* time of last access */ + long st_atimensec; /* nsec of last access */ + time_t st_mtime; /* time of last data modification */ + long st_mtimensec; /* nsec of last data modification */ + time_t st_ctime; /* time of last file status change */ + long st_ctimensec; /* nsec of last file status change */ #endif - off_t st_size; /* file size, in bytes */ - quad_t st_blocks; /* blocks allocated for file */ - u_long st_blksize; /* optimal blocksize for I/O */ - u_long st_flags; /* user defined flags for file */ - u_long st_gen; /* file generation number */ + 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 */ + u_int32_t st_flags; /* user defined flags for file */ + u_int32_t st_gen; /* file generation number */ }; .Ed .Pp |