Unix Practise
文章平均质量分 57
software-NB
Designer for Communication
展开
-
.7 Process Enviroment
examine the environment of a single process * process terminated exit() ---- cleanup the resource and end ( ISO C ) _Exit() ---- kernel原创 2011-09-02 09:41:57 · 438 阅读 · 0 评论 -
stand IO input & output
1. getchar( void ) , getc( stdin ), fgetc( stdin ) getchar ( void ) = = getc ( stdin ) getc( stdin ) --- > #define Macro ==原创 2011-08-05 13:54:21 · 738 阅读 · 0 评论 -
.Process Deamon
pid_t pid, sid; /* Fork off the parent process */ pid = fork(); if (pid < 0) { exit(EXIT_FA原创 2011-09-06 15:49:54 · 499 阅读 · 0 评论 -
System Data & Info
1. Password File user name , encrypted passwword, user ID, Group ID, Init WorkDir, Init Shell /dev/null ; /bin / false ; b原创 2011-09-06 17:20:59 · 525 阅读 · 0 评论 -
OpenSips阅读笔记
最近阅读Opensips代码,偶有所想,就随便写写吧。 1. 关于宏: 以前自己也写过,但是没有写过宏内容展开,完全不包含相关变量名的。 #define IFISMETHOD(methodname,firstchar)原创 2011-09-06 17:22:12 · 779 阅读 · 2 评论 -
.8 Process (01)
process control provided by the UNIX System 1.PID pid:0 ---> scheduler process (system kerenel proc) pid:1 ---> init原创 2011-09-05 10:25:13 · 507 阅读 · 0 评论 -
.8 Process (02)
1. Race Condition when multiple processes are trying to do something with shared data and the final outcome depends on the order in which原创 2011-09-07 16:13:16 · 438 阅读 · 0 评论