![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
jxluoix
能够自己独立开发中小型的软件系统;
对工作态度认真、执着、诚恳;勇于专研、探索、创新;
接受新事物快、见识宽广.
展开
-
一张有关io的图片
一张有关io的图片原创 2017-05-20 20:48:21 · 170 阅读 · 0 评论 -
tcp_v4_init
void __init tcp_v4_init(struct net_proto_family *ops) { int err = sock_create(PF_INET, SOCK_RAW, IPPROTO_TCP, &tcp_socket); if (err < 0) panic("Failed to create the TCP control sock...2017-05-21 01:12:51 · 147 阅读 · 0 评论 -
icmp_init
void __init icmp_init(struct net_proto_family *ops) { struct inet_opt *inet; int i; for (i = 0; i < NR_CPUS; i++) { int err; if (!cpu_possible(i)) continue; err = sock...2017-05-21 01:17:09 · 109 阅读 · 0 评论 -
linux 当前进程(current)
static inline struct task_struct * get_current(void) { return current_thread_info()->task; } #define current get_current() /* how to get the thread information struct from C */ sta...2017-05-30 01:20:03 · 450 阅读 · 0 评论 -
linux epoll_ctl
linux epoll_ctl函数对应系统调用sys_epoll_ctl asmlinkage long sys_epoll_ctl(int epfd, int op, int fd, struct epoll_event __user *event) { int error; struct file *file, *tfile; struct eventpoll ...2017-05-30 02:09:33 · 337 阅读 · 0 评论 -
linux mount
#include <stdio.h> #include <stdlib.h> #include <sys/mount.h> #include <sys/types.h> #include <unistd.h> #undef _POSIX_SOURCE #include <linux/capability.h&...2017-06-04 01:39:01 · 85 阅读 · 0 评论 -
随便一点代码
/* * $ gcc -c selecttest.c -o selecttest.o * $ gcc selecttest.o -o selecttest */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> ...2017-11-11 22:56:18 · 214 阅读 · 0 评论