Linux c readdir是非线程安全,需用readdir_r,要注意用静态变量当做返回值的函数的非线程安全性
摘要:
readdir函数: struct dirent *readdir(DIR *dirp); The data returned by readdir() may be overwritten by subsequent calls to readdir() for the same director 阅读全文
posted @ 2018-01-19 09:35 deodara 阅读(695) 评论(0) 推荐(0) 编辑