摘要: static int proc_detect(const char *procname){ char filename[100] = {0}; sprintf(filename, "%s/%s.pid", LOG_DIR, procname); int fd = open(filename, O_R 阅读全文
posted @ 2018-11-01 16:23 mingzhang 阅读(1332) 评论(0) 推荐(0) 编辑