2013年11月14日 星期四

編譯時產生error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments錯誤

int fd = ::open(strPersistFile.c_str(), O_WRONLY | O_CREAT | O_TRUNC, XXXX);
加上權限即可

沒有留言:

張貼留言