Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 18. Directories and Links > Creating and Removing Directories: mkdir() ...

18.6. Creating and Removing Directories: mkdir() and rmdir()

The mkdir() system call creates a new directory.

#include <sys/stat.h>

int mkdir(const char *pathname, mode_t mode);


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial