vfork.s

来自「klibc精简化的c程序库」· S 代码 · 共 27 行

S
27
字号
## usr/klibc/arch/i386/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:	popl	%edx			/* Return address */	movl	$__NR_vfork, %eax	int	$0x80	pushl	%edx	cmpl	$-4095, %eax	jae	1f	ret1:	negl	%eax	movl	%eax, errno	orl	$-1, %eax	ret

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?