连击 天
fork: star:
命令设置 echo "/mnt/sd_card/%e.%p.%s.%t.core" > /proc/sys/kernel/core_pattern ulimit -c unlimited 代码设置 void coredump_file_set(void) { #define CORE_FILE_SIZE 10241024450 stru...
sockaddr_in && sockaddr 的原型与需要包含的头文件 #include typedef uint32_t in_addr_t; struct in_addr{ in_addr_t s_addr; }; typedef uint16_t in_port_t; /* Structure describing a....
获取线程的tid #include char msg[32] = {0}; sprintf(msg,"tid:%d",syscall(SYS_gettid));
问题由来 系统自带的char *inet_ntoa(struct in_addr in);非线程安全 写一个线程安全的api用来把int 类型的ip地址转换成字符串 #include #include void in_addr_to_str(const struct s......
错误提示 error while loading shared libraries: libevent cannot open shared object file 程序执行时,默认去/lib/或者/usr/lib下连接动态库 此时可以把要链接的动态库复制到这两个目录下...
su root chown -R 用户 openwrt_hdl_source chgrp -R 用户 openwrt_hdl_source
添加一个zze的普通用户并设置密码 adduser zze passwd zze 2.root 用户模式下 vim /etc/sudoers
1.has modification time 18982 s in the future * windows用winscp同步文件到linux,编译时出现以上错误,解决办法 find (文件所在目录) -type f | xargs -n 5 touch......
1.解压内核源码用windows的source insight查看和调试,有些linux .c文件文件名相同,只是大小写相同,导致解压时合并 2.设置适用于linux的windows子系统选项&&并重启 3.启用以下命令:fsuti...
下载go安装包 wget https://dl.google.com/go/go1.10.3.linux-amd64.tar.gz 解压 tar -C /usr/local/ -xvf go1.10.3.linux-amd64.tar.gz chmod 777 -R /usr/local/go/* 设置环境变量 vim /e...
1.服务端安装 ip 172.16.8.189 yum -y install vsftpd 2.服务端用户名配置和设置密码,ftp客户端登录下载或者上传文件,需要输入的用户名或者密码 用户名为zze 密码zze 3.修改配置文件 在/et...
SQLite,是一款轻型的数据库,而且目前已经在很多嵌入式产品中使用了它,它占用资源非常的低,在嵌入式设备中使用广泛,现在准备学习一下sqlite3的使用方法并写一个测试demo,后面在项目智能...
编译sqlite3源码使用,编译不过,并提示以下 原因:不能包含以下头文件sqlite3ext.h 使用sqlite3,只有以下两个文件是有用的
1.1 之前总结了一篇关于AES加密与解密,base64编码与解码用法介绍,顺便把rsa的用法也总结一下 1.2 用法 #include #include #include #include "polarssl/base64.h" #include ......
1.1 最近项目要用到aes和base64,基于mbedtls-1.3.14库来介绍一下aes和base64的用法,并写一个测试用例 1.2 理论学习参考以下链接 https://blog.csdn.net/gulang03/article/details/8117585...
没有更多内容
加载失败,请刷新页面
文章删除后无法恢复,确定删除此文章吗?
动弹删除后,数据将无法恢复
评论删除后,数据将无法恢复