摘要: https://www.linuxuprising.com/2019/01/manual-virtualbox-guest-additions.html sudo apt install virtualbox-guest-x11 virtualbox-guest-utils virtualbox-g 阅读全文
posted @ 2020-03-16 18:41 sinferwu 阅读(227) 评论(0) 推荐(0) 编辑
摘要: sizeof是获取数组元素个数的常用运算符,然而前几天使用时发现,对于extern类型的数组,sizeof的使用上是有些需要考虑的问题的。 假设系统中有3个文件: file1.c: 1 int array[] = {1, 2, 3}; header1.h: 1 extern int array[]; 阅读全文
posted @ 2020-03-16 13:17 sinferwu 阅读(663) 评论(0) 推荐(0) 编辑
摘要: http://bbs.eeworld.com.cn/thread-480542-1-1.html https://www.bilibili.com/video/av53993585 https://blog.csdn.net/cleanwrt/article/details/39956831 htt 阅读全文
posted @ 2020-03-14 00:54 sinferwu 阅读(97) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_24188351/article/details/77891353 https://blog.csdn.net/qq_24188351/article/details/77921653 https://www.jianshu.com/p/040459 阅读全文
posted @ 2020-03-14 00:52 sinferwu 阅读(1179) 评论(0) 推荐(0) 编辑
摘要: 一、fork入门知识 一个进程,包括代码、数据和分配给进程的资源。fork()函数通过系统调用创建一个与原来进程几乎完全相同的进程, 也就是两个进程可以做完全相同的事,但如果初始参数或者传入的变量不同,两个进程也可以做不同的事。 一个进程调用fork()函数后,系统先给新的进程分配资源,例如存储数据 阅读全文
posted @ 2020-03-06 14:33 sinferwu 阅读(1069) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_25424545/article/details/78772959 今天用fork()写程序时候,突然发现自己对Printf的缓冲机制还是有些不够了解,于是来深度解析一下,Printf的缓冲机制到底是怎么一回事呢? 首先printf是库函数,它是由C 阅读全文
posted @ 2020-03-06 14:29 sinferwu 阅读(1750) 评论(0) 推荐(0) 编辑
摘要: nodejs server client 通信 gRPC https://grpc.io/ protobuf https://my.oschina.net/u/3860449/blog/2396031 RPMsg work_queue K8S ... https://howardlau.me/mac 阅读全文
posted @ 2020-01-19 18:26 sinferwu 阅读(100) 评论(0) 推荐(0) 编辑
摘要: .a静态库文件实际上就是.o目标文件的集合 x[o] - extract file(s) from the archivear -x libxxx.a 提取目标文件 file add.o nm add.o https://www.jianshu.com/p/863b279c941e 通过使用工具re 阅读全文
posted @ 2019-12-26 11:36 sinferwu 阅读(593) 评论(0) 推荐(0) 编辑
摘要: 首选 Clang-Format https://clang.llvm.org/docs/ClangFormatStyleOptions.html# Astyle http://astyle.sourceforge.net/ http://astyle.sourceforge.net/astyle.h 阅读全文
posted @ 2019-12-25 19:16 sinferwu 阅读(263) 评论(0) 推荐(0) 编辑
摘要: http://blog.itpub.net/27181165/viewspace-1061688/ 在linux中通常会使用shell结合正则表达式来过滤字符,本文将以一个简单的例子来说明+,*,[:space:]的一些用法+ 匹配1个或多个字符* 匹配0个或多个字符[:space:] 匹配空白字符 阅读全文
posted @ 2019-12-12 12:57 sinferwu 阅读(5032) 评论(0) 推荐(1) 编辑