syncfs_return

Attribute Macro syncfs_return 

Source
#[syncfs_return]
Expand description

(Callback) A callback that runs after the syncfs syscall runs.

Callback arguments: (&mut CPUState,SyscallPc,i32,)

ยงExample

use panda::prelude::*;

#[panda::on_sys::syncfs_enter]
fn callback(_: &mut CPUState, _: SyscallPc, _: i32, ) {
    // do stuff
}