www.delorie.com/gnu/docs/glibc/libc_267.html   search  
Buy the book!

The GNU C Library

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

14. File System Interface

This chapter describes the GNU C library's functions for manipulating files. Unlike the input and output functions (see section 12. Input/Output on Streams; see section 13. Low-Level Input/Output), 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.

14.1 Working Directory  This is used to resolve relative file names.
14.2 Accessing Directories  Finding out what files a directory contains.
14.3 Working with Directory Trees  Apply actions to all files or a selectable subset of a directory hierarchy.
14.4 Hard Links  Adding alternate names to a file.
14.5 Symbolic Links  A file that "points to" a file name.
14.6 Deleting Files  How to delete a file, and what that means.
14.7 Renaming Files  Changing a file's name.
14.8 Creating Directories  A system call just for creating a directory.
14.9 File Attributes  Attributes of individual files.
14.10 Making Special Files  How to create special files.
14.11 Temporary Files  Naming and creating temporary files.

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003