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?