Summary
Windows supports a complete set of functions for processing and managing files and directories, along with character processing functions. In addition, you can write portable, generic applications that can be built for either ASCII or Unicode operation.The Windows functions resemble their UNIX and C library counterparts in many ways, but the differences are also apparent. Appendix B contains a table showing the Windows, UNIX, and C library functions, noting how they correspond and pointing out some of the significant differences.
Looking Ahead
The next step, in Chapter 3, is to discuss direct file access and to learn how to deal with file and directory attributes such as file length and time stamps. Chapter 3 also shows how to process directories and ends with a discussion of the registry management API, which is similar to the directory management API.
Additional Reading
NTFS and Windows Storage
Inside Windows Storage, by Dilip Naik, is a comprehensive discussion of the complete range of Windows storage options including directly attached and network attached storage. Recent developments, enhancements, and performance improvements, along with internal implementation details, are all described.Inside the Windows NT File System, by Helen Custer, is a short monograph describing the goals and implementation of NTFS. This information is helpful in both this chapter and the next.
Unicode
Developing International Applications for Windows 95 and Windows NT, by Nadine Kano, shows how to use Unicode in practice, with guidelines, international standards, and culture-specific issues.The Microsoft home page has several helpful articles on Unicode. "Unicode Support in Win32" is the basic paper; a search will turn up others.
UNIX
Stevens (1992) covers UNIX files and directories in Chapters 3 and 4 and terminal I/O in Chapter 11.UNIX in a Nutshell, by Daniel Gilly et al., is a useful quick reference on the UNIX commands.
