![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c&linux
林-銮
这个作者很懒,什么都没留下…
展开
-
Linux下system () 函数详解简介
(执行shell 命令) 相关函数 fork,execve,waitpid,popen 表头文件 #include 定义函数 int system(const char * string); 函数说明 system()会调用fork()产生子进程,由子进程来调用/bin/sh-c string来执行参数string字符转载 2012-10-22 11:35:54 · 41699 阅读 · 2 评论 -
在Linux平台用gdb进行反汇编和调试
最简C代码分析 为简化问题,来分析一下最简的c代码生成的汇编代码: # vi test1.c int main() { return 0; } 编译该程序,产生二进制文件: # gcc test1.c -o test1 # file test1 te转载 2012-10-22 17:30:35 · 968 阅读 · 0 评论