标签:code exist pre har linux nis linu ESS access
#include <unistd.h>
int FileExist(const char* fname)
{
if(access(fname,0)==0)
return 1;
else
return 0;
}
标签:code exist pre har linux nis linu ESS access
原文地址:https://www.cnblogs.com/smallredness/p/10259232.html