FILE_FLAG_POSIX_SEMANTICS 的作用是什么?

发布于 2024-11-30 10:23:49 字数 229 浏览 7 评论 0原文

我知道 FILE_FLAG_POSIX_SEMANTICS 允许文件名区分大小写,但事实上它没有被命名为 FILE_FLAG_CASE_SENSITIVE ,这让我认为它的作用可能不止于此。

它还有其他作用吗,还是我分析得太深入了?

I'm aware that FILE_FLAG_POSIX_SEMANTICS allows for case sensitivity in file names, but the fact that it wasn't named FILE_FLAG_CASE_SENSITIVE makes me think it might be doing more than that.

Does it do anything else, or am I analyzing this too deeply?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

万劫不复 2024-12-07 10:23:49

据我所知,它只区分大小写。我怀疑他们最初这样命名是因为他们和我们其他人一样不确定支持 POSIX 语义是否可能涉及除区分大小写之外的一些东西。这样,如果结果证明他们需要做更多的事情,他们只需修复 POSIX 语义实现中的错误,而不需要对规范进行根本性的更改。

As far as I know, it only gives case sensitivity. I suspect they originally named it that way because they were as uncertain as the rest of us whether supporting POSIX semantics might involve something more than case sensitivity. This way if it turned out they needed to do more, they could just fix the bug in their implementation of POSIX semantics rather than requiring a fundamental change in the specification.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文