Nut/OS  4.10.3
API Reference
PNUT_DIRENTRY Struct Reference

Directory entry structure. More...

Collaboration diagram for PNUT_DIRENTRY:

Data Fields

PNUT_BLKNUM dir_node
 Node block index of this entry.
uint8_t dir_inuse
 Allocation flag.
char dir_name [PNUT_MAX_NAMELEN+1]
 Name of this entry.

Detailed Description

Directory entry structure.

Each directory node contains a list of data blocks. Each of these data blocks contains a number of directory entries. Each directory entry points to a node block, which may be a file node or a directory node.

Definition at line 240 of file pnutfs.c.

Field Documentation

Node block index of this entry.

This may point to a file or directory node.

Definition at line 246 of file pnutfs.c.

Allocation flag.

Set to one if this entry is in use.

Definition at line 252 of file pnutfs.c.


Name of this entry.

Contains the name ot the file or directory.

Definition at line 258 of file pnutfs.c.

The documentation for this struct was generated from the following file: