- 博客(6)
- 收藏
- 关注
原创 Qt编程应用
test_proj_empty_nix.pro # The following define makes your compiler emit warnings if you use # any Qt feature that has been marked deprecated (the exact warnings # depend on your compiler). Refer to the documentation for the # deprecated API to know how t
2022-05-03 16:20:18
293
原创 i2c驱动application
一、查看 i2c 源代码,并自注释 #ifndef _24CXX_H_ #define _24CXX_H_ #include <linux/i2c-dev.h> #include <linux/i2c.h> #define EEPROM_TYPE_UNKNOWN 0 #define EEPROM_TYPE_8BIT_ADDR 1 #define EEPROM_TYPE_16BIT_ADDR 2 struct eeprom { char *dev; // device
2022-04-25 14:45:30
234
原创 TCP UDP IP 网络编程
查看while源代码 服务器代码 #include <stdlib.h> #include <stdio.h> #include <errno.h> #include <string.h> #include <netdb.h> #include <sys/types.h> #include <netinet/in.h> #include <sys/socket.h> #include <...
2022-04-19 10:27:24
143
原创 线程与进程
线程的创建与终止 pthread_create()可以创建线程,其代码如下: void *thread_function(void *index) e = pthread_create( pthread_t *thread_id, const pthread_attr_t *attr, thread_function, void *index ); 线程的连接 pthread_join()函数功能为等待指定线程结束,其放在主线程中目的是等待子线程结束,主线...
2022-04-11 19:25:45
723
原创 linux下的SCP、NFS、TFTP服务器配置及客户端使用
SCP 安装SCP、NFS、TFTP //sudo apt install -y openssh-server nfs-kernel-server nfs-common tftpd-hpa tftp-hpa ssh配置 //ifconfig windows下scp客户端配置 ![在这里插入图片描述](https://img-blog.csdnimg.cn/68f72efeb9fa4e12944acde53eb11136.png?x-oss-process=image/watermark,type_d3
2022-03-28 08:41:15
322
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅