Windows API 可能会返回 MSDN 文档上没有提到的错误码
2021-03-01 00:27
标签:flags invalid esc specified windows The pat strong window 例如 _sopen_s 在磁盘空间不够的时候, 宏 errno 就会返回 ENOSPC(28) MSDN 文档时只提到以下错误码 Windows API 可能会返回 MSDN 文档上没有提到的错误码 标签:flags invalid esc specified windows The pat strong window 原文地址:https://www.cnblogs.com/liujx2019/p/14447347.html
errno value
Condition
EACCES
The given path is a directory, or the file is read-only, but an open-for-writing operation was attempted.
EEXIST
_O_CREAT and _O_EXCL flags were specified, but filename already exists.
EINVAL
Invalid oflag, shflag, or pmode argument, or pfh or filename was a null pointer.
EMFILE
No more file descriptors available.
ENOENT
File or path not found.
文章标题:Windows API 可能会返回 MSDN 文档上没有提到的错误码
文章链接:http://soscw.com/index.php/essay/58318.html