Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在完整的 UNIX 路径上使用 fopen(),即
fopen("/dir1/file1.raw", "rb");
该文件在那里并且是 rw-。但是,fopen 返回 NULL。errno 表示没有这样的文件或目录。有任何想法吗?