Thread: Creating and deleting directories and deleting files

  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    93

    Creating and deleting directories and deleting files

    What is the best way to create directories and delete files and directories in C on Linux? I really dont want to use system(). Also, do system() calls in C execute asynchronously?

  2. #2
    Registered User
    Join Date
    Oct 2008
    Posts
    1,262
    See:
    man 2 mkdir
    man 2 unlink

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Creating three nodes, deleting head
    By Nakeerb in forum C++ Programming
    Replies: 4
    Last Post: 11-15-2002, 09:00 PM