We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 580be57 commit 811642cCopy full SHA for 811642c
1 file changed
examples/stdlib.c
@@ -649,6 +649,15 @@ typedef int key_t;
649
#define S_ISGID 02000
650
#define S_ISVTX 01000
651
652
+#define S_IFMT 0170000
653
+#define S_IFSOCK 0140000
654
+#define S_IFLNK 0120000
655
+#define S_IFREG 0100000
656
+#define S_IFBLK 0060000
657
+#define S_IFDIR 0040000
658
+#define S_IFCHR 0020000
659
+#define S_IFIFO 0010000
660
+
661
#define O_ACCMODE 00000003
662
#define O_RDONLY 00000000
663
#define O_WRONLY 00000001
0 commit comments