My own tar file can currently use the 'c' and 't' commands correctly (creating he archive, reading the archive), but I'm completely unaware of how to implement 'x' (extracting the archive).
Using C code, how can I recreate a directory / file? I know I can successfully read what is in my .tar file, I'm just not sure of the C function that is used to create directores / files.
NOTE: I've asked multiple people, they couldn't help me. Googled the problem for an hour, but the question is vague enough that I got about 10000 websites answering a different problem.
mkdir()to create a directory. If you can create the archive then you already know how to create a file.mkdir,openorcreat?