projects
/
mes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mescc: Support gcc-3.2: puts with newline.
[mes.git]
/
include
/
sys
/
stat.h
diff --git
a/include/sys/stat.h
b/include/sys/stat.h
index 782201f11a6a3341f8b753404cbac8bd0e1eef5d..e934c95fea790b9d55aa224c99f9819c4748d23c 100644
(file)
--- a/
include/sys/stat.h
+++ b/
include/sys/stat.h
@@
-60,10
+60,12
@@
int mkdir (char const *file_name, mode_t mode);
int chown (char const *file_name, uid_t owner, gid_t group);
int rmdir (char const *file_name);
int chown (char const *file_name, uid_t owner, gid_t group);
int rmdir (char const *file_name);
-#define S_IF
MT 017
0000
+#define S_IF
CHR 002
0000
#define S_IFDIR 0040000
#define S_IFDIR 0040000
+#define S_IFBLK 0060000
#define S_IFREG 0100000
#define S_IFLNK 0120000
#define S_IFREG 0100000
#define S_IFLNK 0120000
+#define S_IFMT 0170000
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)