Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
hit-xby
OSKernel2024-yeah
Commits
f27accb6
Commit
f27accb6
authored
6 months ago
by
只敲代码不玩耍,聪明baka也变傻ᗜˬᗜ
Browse files
Options
Download
Patches
Plain Diff
feat: add #[repr(C)] attribute to FdPair struct for interoperability
parent
f52b715a
master
feat/docs
feat/docs-vendored
feat/ext4-filesystem
feat/ext4-filesystem-vendored
feat/test-final
feat/test-final-vendored
master-vendored
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kernel/src/syscalls/file.rs
+1
-0
kernel/src/syscalls/file.rs
with
1 addition
and
0 deletions
+1
-0
kernel/src/syscalls/file.rs
+
1
−
0
View file @
f27accb6
...
...
@@ -47,6 +47,7 @@ pub struct Pipe2Syscall;
impl
ISyncSyscallHandler
for
Pipe2Syscall
{
fn
handle
(
&
self
,
ctx
:
&
mut
SyscallContext
)
->
SyscallResult
{
#[repr(C)]
struct
FdPair
{
read_end
:
i32
,
write_end
:
i32
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets