![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
向阳日
在满地都是六便士的街上,他抬起头看到了月光。
展开
-
About phony target in Makefile
About phony target in MakefileBefore we talk about phony target in Makefile, let us take a rough look at the rules of Makefile.target ... : prerequisites ...commandThe target is a ObjectFile or a...原创 2019-05-30 21:12:27 · 499 阅读 · 0 评论 -
mmap, munmap - map or unmap files or devices into memory
mmap, munmap - map or unmap files or devices into memorySYNOPSIS #include <sys/mman.h> void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset...原创 2019-05-31 15:40:44 · 216 阅读 · 0 评论 -
makefile_base_one
# Instructions to the compiler and optionsCC = g++RM = rmCFLAGS = -Wall# Macro definitionDEFS = -D OS_UNIXCFLAGS += $(DEFS)# The target fileTARGET = a.out# The source fileSRCS = test.cpp# T...原创 2019-05-29 17:45:39 · 187 阅读 · 0 评论 -
Makefile:multiple sub-folders
1st:you must konw that if there are mutiple subfolders, for example ‘include’ ‘lib’ function’, under your current Makefile, every folder must exsit a ‘built-in.o’ which is linked by main Makefile.2nd...原创 2019-05-29 22:01:57 · 162 阅读 · 0 评论 -
守护进程(Daemon process)
什么是守护进程?守护进程(Daemon Process),也就是通常说的 Daemon 进程(精灵进程),是 Linux 中的后台服务进程。它是一个生存期较长的进程,通常独立于控制终端并且周期性地执行某种任务或等待处理某些发生的事件。守护进程是个特殊的孤儿进程,这种进程脱离终端,为什么要脱离终端呢?之所以脱离于终端是为了避免进程被任何终端所产生的信息所打断,其在执行过程中的信息也不在任何终端上...原创 2019-06-03 17:02:28 · 2712 阅读 · 1 评论 -
About signal in linux environment
一 信号概念在计算机科学中,信号(英语:Signals)是 Unix、类 Unix 以及其他 POSIX 兼容的操作系统中进程间通讯的一种有限制的方式。它是一种异步的通知机制,用来提醒进程一个事件已经发生。当一个信号发送给一个进程,操作系统中断了进程 正常的控制流程,此时,任何非原子操作都将被中断。如果进程定义了信号的处理函数,那么它将被执行,否则就执行默认的处理函数。每个信号都有一个名字, ...原创 2019-06-03 18:00:35 · 371 阅读 · 0 评论 -
关于Makefile中模式规则,自动推导以及包含头文件
关于Makefile中模式规则,自动推导以及包含头文件一、Makefile里有什么?Makefile里主要包含了五个东西:显式规则、隐晦规则、变量定义、文件指示和注释。1、显式规则。显式规则说明了,如何生成一个或多的的目标文件。这是由Makefile的书写者明显指出,要生成的文件,文件的依赖文件,生成的命令。2、隐晦规则。由于我们的make有自动推导的功能,所以隐晦的规则可以让我们比较...原创 2019-06-04 15:08:39 · 2694 阅读 · 0 评论 -
Install Sublime Editor in Linux Systems
Sublime Text is a most popular, lightweight and smart cross-platform text and source code editor with a Python API, that available for Linux, Windows and Mac OS X.It is really an awesome application ...转载 2019-07-08 10:27:26 · 83 阅读 · 0 评论 -
Vim/copy and paste
Vim/copy and paste1st:operate with blockscontrol v: rectangular; v: operate with character;V: operate with lines;2nd: normal mode(copy)y: copy;yy: copy one line(PS: nyy copy n lines);y^: simi...原创 2019-05-29 14:45:54 · 285 阅读 · 0 评论