Macro rustix::backend::arch::syscall_readonly

source ยท
macro_rules! syscall_readonly {
    ($nr:ident) => { ... };
    ($nr:ident, $a0:expr) => { ... };
    ($nr:ident, $a0:expr, $a1:expr) => { ... };
    ($nr:ident, $a0:expr, $a1:expr, $a2:expr) => { ... };
    ($nr:ident, $a0:expr, $a1:expr, $a2:expr, $a3:expr) => { ... };
    ($nr:ident, $a0:expr, $a1:expr, $a2:expr, $a3:expr, $a4:expr) => { ... };
    ($nr:ident, $a0:expr, $a1:expr, $a2:expr, $a3:expr, $a4:expr, $a5:expr) => { ... };
    ($nr:ident, $a0:expr, $a1:expr, $a2:expr, $a3:expr, $a4:expr, $a5:expr, $a6:expr) => { ... };
}
Expand description

Like syscall, but adds the readonly attribute to the inline asm, which indicates that the syscall does not mutate any memory.