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

📄 dir.5

📁 Unix操作系统minix 2.0源码
💻 5
字号:


DIR(5)                    Minix Programmer's Manual                     DIR(5)


NAME
     dir - directory layout

SYNOPSIS
     #include <sys/types.h>
     #include <sys/dir.h>

DESCRIPTION
     The directories of the V1 and V2 file systems are arrays of the following
     structure defined in <sys/dir.h>:

     struct direct {
          ino_t          d_ino;         /* I-node number */
          char           d_name[14];    /* Name of up to 14 characters */
     };

     The d_ino field is the inode number of the file named by  d_name.   D_ino
     is  zero  if the directory slot isn't allocated.  This number is the same
     as st_ino returned by stat(2) unless the entry is mounted on.  D_name  is
     the  name of up to 14 characters, null-terminated only if less then 14 in
     length.  Any character other than null or '/' is allowed.

     See directory(3) for a portable  way  to  access  directories,  Minix  is
     probably the last system with these old V7 format directories.

SEE ALSO
     directory(3).

AUTHOR
     Kees J. Bot (kjb@cs.vu.nl)






















                                                                             1

⌨️ 快捷键说明

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