
55
CHAPTER
3 Advanced File
and Directory
Processing, and
the Registry
File systems provide more than sequentia l processing; they must also provide
direct access, file locking, directory processing, and file attribute management.
Starting with direct file access, which is required by database, file management,
and many other systems, this chapter shows how to manage f
ile pointers to access
files at any location. In particular, it is necessary to show how to use Windows’
64-bit file pointers, because the NTFS can support huge files.
The next step is to show how to scan directory contents and how to manage
a nd interpret file attributes, such as time ...