dir.5
来自「操作系统设计与实现源码」· 5 代码 · 共 44 行
5
44 行
.TH DIR 5.SH NAMEdir \- directory layout.SH SYNOPSIS.nf.ft B#include <sys/types.h>#include <sys/dir.h>.SH DESCRIPTIONThe directories of the V1 and V2 file systems are arrays of thefollowing structure defined in <sys/dir.h>:.PP.nf.ta +5n +15n +15nstruct direct { ino_t d_ino; /* I-node number */ char d_name[14]; /* Name of up to 14 characters */};.fi.DT.PPThe.B d_inofield is the inode number of the file named by.BR d_name ..B D_inois zero if the directory slot isn't allocated. This number is the same as.B st_inoreturned by.BR stat (2)unless the entry is mounted on..B D_nameis the name of up to 14 characters, null-terminated only if less then 14in length. Any character other than null or '\fB/\fP' is allowed..PPSee.BR directory (3)for a portable way to access directories, Minix is probably the last systemwith these old V7 format directories..SH "SEE ALSO".BR directory (3)..SH AUTHORKees J. Bot (kjb@cs.vu.nl)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?