2022年8月4日

获取进程名,含路径

摘要: std::string program_path() { const int path_size = 512; char *path = (char *)malloc(path_size); if (path != NULL) { if (readlink("/proc/self/exe", pat 阅读全文

posted @ 2022-08-04 14:33 lialin 阅读(26) 评论(0) 推荐(0) 编辑

导航