Skip to content
Snippets Groups Projects
Commit ce7e553a authored by bitstr0m's avatar bitstr0m
Browse files

Implement `cpio.h`

parent 14ecc954
No related branches found
No related tags found
1 merge request!585Implement `cpio.h`
#ifndef _RELIBC_CPIO_H
#define _RELIBC_CPIO_H
#define MAGIC "070707"
#define C_IRUSR 00000400
#define C_IWUSR 00000200
#define C_IXUSR 00000100
#define C_IRGRP 00000040
#define C_IWGRP 00000020
#define C_IXGRP 00000010
#define C_IROTH 00000004
#define C_IWOTH 00000002
#define C_IXOTH 00000001
#define C_ISUID 00004000
#define C_ISGID 00002000
#define C_ISVTX 00001000
#define C_ISDIR 00040000
#define C_ISFIFO 00010000
#define C_ISREG 00100000
#define C_ISBLK 00060000
#define C_ISCHR 00020000
#define C_ISCTG 00110000
#define C_ISLNK 00120000
#define C_ISSOCK 00140000
#endif /* _RELIBC_CPIO_H */
......@@ -7,7 +7,7 @@ pub mod assert;
pub mod bits_pthread;
pub mod bits_sched;
// complex.h implemented in C
// TODO: cpio.h
// cpio.h implemented in C
pub mod crypt;
pub mod ctype;
// TODO: curses.h (deprecated)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment