08 2022 档案

获取进程名,含路径
摘要: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 编辑

导航