-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added fallback reent struct. Code cleaning
- Loading branch information
Showing
8 changed files
with
80 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#ifndef _CPIO_H | ||
#define _CPIO_H | ||
|
||
#define MAGIC "070707" | ||
|
||
#define C_IRUSR 000400 | ||
#define C_IWUSR 000200 | ||
#define C_IXUSR 000100 | ||
#define C_IRGRP 000040 | ||
#define C_IWGRP 000020 | ||
#define C_IXGRP 000010 | ||
#define C_IROTH 000004 | ||
#define C_IWOTH 000002 | ||
#define C_IXOTH 000001 | ||
|
||
#define C_ISUID 004000 | ||
#define C_ISGID 002000 | ||
#define C_ISVTX 001000 | ||
|
||
#define C_ISBLK 060000 | ||
#define C_ISCHR 020000 | ||
#define C_ISDIR 040000 | ||
#define C_ISFIFO 010000 | ||
#define C_ISSOCK 0140000 | ||
#define C_ISLNK 0120000 | ||
#define C_ISCTG 0110000 | ||
#define C_ISREG 0100000 | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters