⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sys32.h

📁 这个linux源代码是很全面的~基本完整了~使用c编译的~由于时间问题我没有亲自测试~但就算用来做参考资料也是非常好的
💻 H
字号:
#ifndef _PARISC64_KERNEL_SYS32_H#define _PARISC64_KERNEL_SYS32_H/* Call a kernel syscall which will use kernel space instead of user * space for its copy_to/from_user. */#define KERNEL_SYSCALL(ret, syscall, args...) \{ \    mm_segment_t old_fs = get_fs(); \    set_fs(KERNEL_DS); \    ret = syscall(args); \    set_fs (old_fs); \}struct timeval32 {	int tv_sec;	int tv_usec;};typedef __u32 __sighandler_t32;#include <linux/signal.h>typedef struct {	unsigned int sig[_NSIG_WORDS * 2];} sigset_t32;struct sigaction32 {	__sighandler_t32 sa_handler;	unsigned int sa_flags;	sigset_t32 sa_mask;		/* mask last for extensibility */};#endif

⌨️ 快捷键说明

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