diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-07 20:10:31 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-07 20:10:31 +0100 |
| commit | fc00c656c96528112d05cf0edf8631bd5eaea446 (patch) | |
| tree | a6e0e6c588191a8bd1c64afc3b7a258e3e66c236 /include/cpio.h | |
Add build system scaffolding and libc headers
Diffstat (limited to 'include/cpio.h')
| -rw-r--r-- | include/cpio.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/cpio.h b/include/cpio.h new file mode 100644 index 00000000..8428662b --- /dev/null +++ b/include/cpio.h @@ -0,0 +1,32 @@ +#ifndef __CPIO_H +#define __CPIO_H + +#define MAGIC "070707" + +#define C_IXOTH 0000001 +#define C_IWOTH 0000002 +#define C_IROTH 0000004 + +#define C_IXGRP 0000010 +#define C_IWGRP 0000020 +#define C_IRGRP 0000040 + +#define C_IXUSR 0000100 +#define C_IWUSR 0000200 +#define C_IRUSR 0000400 + +#define C_ISVTX 0001000 +#define C_ISGID 0002000 +#define C_ISUID 0004000 + +#define C_ISFIFO 0010000 +#define C_ISCHR 0020000 +#define C_ISDIR 0040000 +#define C_ISBLK 0060000 + +#define C_ISREG 0100000 +#define C_ISCTG 0110000 +#define C_ISLNK 0120000 +#define C_ISSOCK 0140000 + +#endif |
