minix man page for dir

Query: dir

OS: minix

Section: 5

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DIR(5)								File Formats 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) DIR(5)
Related Man Pages
dir_ufs(4) - opensolaris
dir(5) - osx
dir(5) - ultrix
dir_ufs(4) - sunos
dir_ufs(4) - php
Similar Topics in the Unix Linux Community
changing filenames in a directory to a number within a loop
How can i copy a list of files with different names into others directory have the same name?
Renamed lib directory by mistake
List directories, subs and files
Help for shell scripts for moving all files from one directory to another