diff options
author | das <das@FreeBSD.org> | 2005-03-22 01:19:18 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2005-03-22 01:19:18 +0000 |
commit | 5ac70244e57af28460cc084e3f6a1af5325a66ab (patch) | |
tree | 87aa2b0c0dfa25a01d68ae0f08668be118b8faf9 /sys/sys/_types.h | |
parent | 0a7d613dc5ff1af98a07d9a2a1a778c2adcc0fb1 (diff) | |
download | FreeBSD-src-5ac70244e57af28460cc084e3f6a1af5325a66ab.zip FreeBSD-src-5ac70244e57af28460cc084e3f6a1af5325a66ab.tar.gz |
- Declare mknod in stat.h (in addition to unistd.h), as per XSI.
- Use blksize_t and blkcnt_t in struct stat.
- Hide non-standard fields in stat.h when !__BSD_VISIBLE.
- Add restrict qualifiers in stat.h.
Diffstat (limited to 'sys/sys/_types.h')
-rw-r--r-- | sys/sys/_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/_types.h b/sys/sys/_types.h index 3047e98..cde80d9 100644 --- a/sys/sys/_types.h +++ b/sys/sys/_types.h @@ -35,6 +35,8 @@ /* * Standard type definitions. */ +typedef __uint32_t __blksize_t; /* file block size */ +typedef __int64_t __blkcnt_t; /* file block count */ typedef __int32_t __clockid_t; /* clock_gettime()... */ typedef __uint32_t __fflags_t; /* file flags */ typedef __uint64_t __fsblkcnt_t; |