Skip to content

Commit

Permalink
feat: add other syscalls
Browse files Browse the repository at this point in the history
  • Loading branch information
szkabaroli committed Jul 7, 2024
1 parent 32c093e commit 037757c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,15 @@ pub extern "C" fn fx_handle_replace(
FX_OK
}

#[no_mangle]
pub extern "C" fn fx_channel_create(
options: u32,
out0: *mut fx_handle_t,
out1: *mut fx_handle_t,
) -> fx_status_t {
FX_OK
}

#[no_mangle]
pub extern "C" fn fx_channel_read(
handle: fx_handle_t,
Expand Down Expand Up @@ -239,6 +248,18 @@ pub extern "C" fn fx_channel_read_etc(
FX_OK
}

#[no_mangle]
pub extern "C" fn fx_channel_write(
handle: fx_handle_t,
options: u32,
bytes: *const u8,
num_bytes: u32,
handles: *const fx_handle_t,
num_handles: u32,
) -> fx_status_t {
FX_OK
}

#[no_mangle]
pub extern "C" fn fx_process_create(
job: fx_handle_t,
Expand Down

0 comments on commit 037757c

Please sign in to comment.