摘要: 系统调用的两种方式 一、库函数API调用 以系统函数rename为例,研究Linux系统的系统调用过程。 编写一个简单的API调用系统函数rename的c程序 #include <stdio.h> int main(){ int ret; char *oldname = "hello.c"; cha 阅读全文
posted @ 2020-11-06 22:49 不冷惊喜 阅读(104) 评论(0) 推荐(0) 编辑