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

📄 dir.5

📁 操作系统设计与实现源码
💻 5
字号:
.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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -