摘要:
1、首先附一下李慧芹关于select机制的讲解:高级IO-select_哔哩哔哩_bilibili 高级IO-select实例_哔哩哔哩_bilibili 2、基于Select机制的服务端代码 #include <stdio.h> #include <stdlib.h> #include <stri 阅读全文
1、首先附一下李慧芹关于select机制的讲解:高级IO-select_哔哩哔哩_bilibili 高级IO-select实例_哔哩哔哩_bilibili 2、基于Select机制的服务端代码 #include <stdio.h> #include <stdlib.h> #include <stri 阅读全文
posted @ 2023-06-24 15:48
轩~邈
阅读(95)
评论(0)
推荐(0)
SQLite C编程
字典树,也称为Trie树或前缀树,是一种树形结构,用于统计、排序和保存大量的字符串(但不仅限于字符串)。这种数据结构常被搜索引擎系统用于文本词频统计。
timerfd_create/timerfd_settime/timerfd_gettime函数
1、代码举例 #include <stdio.h> #include <string.h> #include <regex.h> // 提取子串 char* getsubstr(char *s, regmatch_t *pmatch) { static char buf[100] = {0}; me
通过华三模拟器配置静态路由
socket举栗学习
五个线程函数 1、线程的创建 int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start routine)(void *), void *arg ) 函数返回值为0表示创建成功 2、线程的终止: vo
1、ping命令 ping命令采用的协议是ICMP协议,例如ping www.baidu.com 检测是否可以访问百度; [xuanmiao@192 ~]$ ping www.baidu.com PING www.a.shifen.com (36.152.44.95) 56(84) bytes of
Linux 系统目录结构 | 菜鸟教程 (runoob.com) 1、从普通用户怎么切换到root用户呢? 方法Ⅰ:输入su,然后输入当前普通用户的登录密码 方法Ⅱ:输入su root ,然后输入当前普通用户的登录密码 2、从root用户切换到普通用户 方法Ⅰ:输入exit 方法Ⅱ:Ctrl+D 快
浙公网安备 33010602011771号