vfork.s
来自「klibc精简化的c程序库」· S 代码 · 共 27 行
S
27 行
## usr/klibc/arch/x86_64/vfork.S## vfork is nasty - there must be nothing at all on the stack above# the stack frame of the enclosing function.##include <asm/unistd.h> .text .align 4 .globl vfork .type vfork, @functionvfork: pop %rdx /* Return address */ movl $__NR_vfork, %eax syscall push %rdx cmpq $-4095, %rax jae 1f ret1: negl %eax movl %eax, errno(%rip) orq $-1, %rax ret
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?