sigaction.s

来自「Newlib 嵌入式 C库 标准实现代码」· S 代码 · 共 21 行

S
21
字号
// The SCO signal stuff seems to be weird.  The POSIX stuff appears to/ "extended" system calls, and use values in eax and edx./ Like most of the other signal routines, it takes a function pointer/ in %edx.  Since this function is terribly small, I am including it/ in all of the ones that need it, for now at least.  Seems silly to include/ a whole file for two instructions.sigret:	addl	$4, %esp	lcall	$0xf, $0	.globl	sigactionsigaction:	movl	$0x2728, %eax	movl	sigret, %edx	lcall	$7,$0	jb	_cerror	ret	addl	$4, %esp	lcall	$0xf,$0

⌨️ 快捷键说明

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