摘要:
例子一:#include #include //pid_t类型定义 #include //函数fork(),getpid()定义 void main () { pid_t pid; pid=fork(); if (pid #include //pid... 阅读全文
posted @ 2012-03-21 16:32 bug yang 阅读(761) 评论(0) 推荐(0)
摘要:
例子一:#include #include //pid_t类型定义 #include //函数fork(),getpid()定义 void main () { pid_t pid; pid=fork(); if (pid #include //pid... 阅读全文
posted @ 2012-03-21 16:32 bug yang 阅读(761) 评论(0) 推荐(0)
摘要:
#gcc -c foo.c -o foo.o #gcc -c bar.c -o bar.o #ar rcs libfoobar.a foo.o bar.o 阅读全文
posted @ 2012-03-21 11:43 bug yang 阅读(130) 评论(0) 推荐(0)
摘要:
file1: file1.o file2.o gcc file1.o file2.o -o file1 file1.o: file1.c file1.h gcc -c file1.c file2.o: file2.c file2.h gcc -c file2.c 阅读全文
posted @ 2012-03-21 11:12 bug yang 阅读(133) 评论(0) 推荐(0) |
||