Linux access()函數使用

Linux access函數功能描述: 檢查調用進程是否能夠對指定的文件執行某種操做。 Linux access函數用法:  #include  #include  int access(const char *pathname, int mode); Linux access函數參數:  pathname: 須要測試的文件路徑名。  mode: 須要測試的操做模式,可能值是一個或多個R_OK(可
相關文章
相關標籤/搜索