We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edd036d commit cc2509aCopy full SHA for cc2509a
posts/inside-rust/2020-05-25-new-inline-asm.md
@@ -63,7 +63,7 @@ fn main() {
63
asm!(
64
"syscall",
65
in("rax") 1, // syscall number
66
- in("rdi") 1, // fd
+ in("rdi") 1, // fd (stdout)
67
in("rsi") buf.as_ptr(),
68
in("rdx") buf.len(),
69
out("rcx") _, // clobbered by syscalls
0 commit comments