linux c/c++ 文件是否存在

#include <unistd.h>
int FileExist(const char* fname)
{
    return access(fname,0);
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2021-06-16
  • 2021-12-01
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-22
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案