Commit f27accb6 authored by 只敲代码不玩耍,聪明baka也变傻ᗜˬᗜ's avatar 只敲代码不玩耍,聪明baka也变傻ᗜˬᗜ :man_dancing_tone1:
Browse files

feat: add #[repr(C)] attribute to FdPair struct for interoperability

Showing with 1 addition and 0 deletions
+1 -0
......@@ -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,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment