Guest_imported
New member
- Jan 1, 1970
- 0
I have an array of directories, for eg:
array1: dir1
array2: dir2
array3: dir3
array4: dir4
PATH: /dir1/dir2/dir3/dir4
I want to locate and create if necessary the directory structure as shown in the path.
Whats the best way to do this in UNIX C?
thanks
array1: dir1
array2: dir2
array3: dir3
array4: dir4
PATH: /dir1/dir2/dir3/dir4
I want to locate and create if necessary the directory structure as shown in the path.
Whats the best way to do this in UNIX C?
thanks