是否有与 EDQUOT 等效的 Windows 版本?
我正在将一些 C++ 代码从 UNIX 移植到 Windows,该代码检测 EDQUOT 错误的发生,该错误表明超出当前用户磁盘配额的尝试失败。 Visual Studio 的
I'm porting some C++ code from UNIX to Windows which detects the occurrence of the EDQUOT error, which indicates that there was an unsuccessful attempt to exceed the current user's disk quota. Visual Studio's <errno.h> doesn't have an EDQUOT, although I know that Windows has disk quota functionality. Visual Studio's <errno.h> does have an ENOSPC, which might be how the CRT expresses what UNIX would express as EDQUOT. Can anybody confirm or deny this theory? And if this isn't the way to handle this, what is?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
C:\ Program Files \ Microsoft SDKs \ Windows \ v7.0A \ Include \ WinSock.h
C:\ Program Files \ Microsoft SDKs \ Windows \ v7.1 \ Include \ WinSock.h
C:\ Program Files \ Microsoft SDKs \ Windows \ v7.0A \ Include \ WinError.h
C:\ Program Files \ Microsoft SDKs \ Windows \ v7.1 \ Include \ WinError.h
C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include\WinSock.h
C:\Program Files\Microsoft SDKs\Windows\v7.1\Include\WinSock.h
C:\Program Files\Microsoft SDKs\Windows\v7.0A\Include\WinError.h
C:\Program Files\Microsoft SDKs\Windows\v7.1\Include\WinError.h