openat.s

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

S
27
字号
/* * arch/i386/openat.S * * Handle the openat() system call - oddball due to the varadic * prototype, which forces the use of the cdecl calling convention, * and the need for O_LARGEFILE. */#include <asm/unistd.h>/* <asm/fcntl.h>, despite the name, isn't assembly-safe */#define O_LARGEFILE     0100000#ifdef __NR_openat		/* Don't build if kernel headers too old */	.globl	openat	.type	openat,@functionopenat:	orl	$O_LARGEFILE,12(%esp)	pushl	$__NR_openat	jmp	__syscall_varadic	.size	openat,.-openat#endif

⌨️ 快捷键说明

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