Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
relibc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
relibc
Commits
ce7e553a
Commit
ce7e553a
authored
3 months ago
by
bitstr0m
Browse files
Options
Downloads
Patches
Plain Diff
Implement `cpio.h`
parent
14ecc954
No related branches found
No related tags found
1 merge request
!585
Implement `cpio.h`
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/cpio.h
+29
-0
29 additions, 0 deletions
include/cpio.h
src/header/mod.rs
+1
-1
1 addition, 1 deletion
src/header/mod.rs
with
30 additions
and
1 deletion
include/cpio.h
0 → 100644
+
29
−
0
View file @
ce7e553a
#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 */
This diff is collapsed.
Click to expand it.
src/header/mod.rs
+
1
−
1
View file @
ce7e553a
...
...
@@ -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)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment