The GNU C Library - File System Interface

Node: File System Interface Next: Pipes and FIFOs Prev: Low-Level I/O Up: Top

File System Interface

This chapter describes the GNU C library's functions for manipulating files. Unlike the input and output functions described in I/O on Streams and Low-Level I/O, these functions are concerned with operating on the files themselves, rather than on their contents.

Among the facilities described in this chapter are functions for examining or modifying directories, functions for renaming and deleting files, and functions for examining and setting file attributes such as access permissions and modification times.

Working Directory This is used to resolve relative
file names.
Accessing Directories Finding out what files a directory
contains.
Hard Links Adding alternate names to a file.
Symbolic Links A file that ``points to'' a file name.
Deleting Files How to delete a file, and what that means.
Renaming Files Changing a file's name.
Creating Directories A system call just for creating a directory.
File Attributes Attributes of individual files.
Making Special Files How to create special files.
Temporary Files Naming and creating temporary files.


Next: Pipes and FIFOs Up: Top