获取进程名,含路径
摘要: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
posted @ 2022-08-04 14:33