Comtrol eCos User Manual

Page 418

Advertising
background image

Chapter 20. File System Table

The remaining fields are pointers to functions that implement filesystem operations that apply to files and directories
as whole objects. The operation implemented by each function should be obvious from the names, with a few
exceptions:

The

opendir()

function pointer opens a directory for reading. See

Chapter 23

for details.

The

getinfo()

and

setinfo()

function pointers provide support for various minor control and information

functions such as

pathconf()

and

access()

.

With the exception of the

mount()

and

umount()

functions, all of these functions take three standard arguments, a

pointer to a mount table entry (see later) a directory pointer (also see later) and a file name relative to the directory.
These should be used by the filesystem to locate the object of interest.

314

Advertising