原创 小智慧大應用二

一、無名管道pipe pipe、write、read 只能用於父子進程間通信, 二、有名管道fifo mkfifo、unlink、open、close、write、read 當寫管道完成後

原创 多線程程序設計學習

http://www.cnblogs.com/cs-jin-note/archive/2012/10/30/2746468.html http://wenku.baidu.com/view/0643867e8e9951e79b89

原创 文件映射mmap

學習文獻《http://c.biancheng.net/cpp/html/138.html》 頭文件:#include <unistd.h>    #include <sys/mman.h> 定義函數:void *mmap(void

原创 小應用大智慧學習筆記

一、gdb的使用 1、使用gcc -g 編譯 2、gdb + 文件名 啓動gdb 3、設置斷點:break(b) + 函數名 break(