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 /include | |
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 'include')
-rw-r--r-- | include/unistd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h index fa73462..2bd85a37 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -489,7 +489,10 @@ int iruserok(unsigned long, int, const char *, const char *); int iruserok_sa(const void *, int, int, const char *, const char *); int issetugid(void); char *mkdtemp(char *); +#ifndef _MKNOD_DECLARED int mknod(const char *, mode_t, dev_t); +#define _MKNOD_DECLARED +#endif #ifndef _MKSTEMP_DECLARED int mkstemp(char *); #define _MKSTEMP_DECLARED |