c - create系统调用为什么叫creat?

标签 c linux unix posix

<分区>

为什么create系统调用叫做creat

此外,为什么缓冲区大小的定义称为 BUFSIZ 而不是 BUFSIZE

还有这样的例子吗?

相关:(取自评论)
What did Ken Thompson mean when he said, “I'd spell create with an 'e'.”

最佳答案

来自 LSP (第 28 页):

Yes, this function’s name is missing an e. Ken Thompson, the creator of Unix, once joked that the missing letter was his largest regret in the design of Unix.

关于c - create系统调用为什么叫creat?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8390979/

相关文章:

c - C 中的函数指针是如何工作的?

C TCP 客户端无法连接到服务器

c# - 在 Linux 上使用 .NET/Mono 来提供大容量 Web 服务,是个好主意吗?

linux - 如何将 cat/ls -l 命令的输出传递给 unix 中的参数?

linux - 在终端中搜索文本文件

json - 根据内容重命名 JSON 文件

c - 生产代码中的面向方面的 C(而非 C++)

c - 稍微修改我的代码后出现段错误

windows - 用户是否需要管理员权限才能安装 Flash Player?

linux - 为什么时钟是: can't known any way access to the hardware clock.?