如何在C中获取进程名称?同名,在/proc/$pid/status.我不想解析该文件.有没有任何程序化的方法来做到这一点?
/proc/$pid/status
c linux
c ×1
linux ×1