⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mknod.2

📁 UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱昂氏unix源代码分析都是用的该版
💻 2
字号:
.th MKNOD II 8/5/73.sh NAMEmknod \*- make a directory or a special file.sh SYNOPSIS(mknod = 14.; not in assembler).br.ft Bsys  mknod; name; mode; addr.s3mknod(name, mode, addr).brchar *name;.ft R.sh DESCRIPTION.it Mknodcreates a new filewhose name is the null-terminated string pointedto by.it name.The mode of the new file(including directory and special file bits)is initialized from.it mode.The first physical address of the fileis initialized from.it addr.Note that in the case of a directory,.it addrshould be zero.In the case of a special file,.it addrspecifies which special file..s3.it Mknodmay be invoked only by the super-user..sh "SEE ALSO"mkdir (I), mknod (VIII), fs (V).sh DIAGNOSTICSError bit (c-bit)is set if the file already existsor if the user is not the super-user.From C, a \*-1 value indicates an error.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -