Linux更改获取进程工作目录

在这里插入图片描述

来源:微信公众号「编程学习基地」

getcwd()获取当前工作目录

函数的声明:

#include<unistd.h>

猜你喜欢

转载自blog.csdn.net/qq_44519484/article/details/109554296