Which libraries I need in ANSI C to read and write GNU Header for Tar files?

I am creating a program capable of reading and writing TAR files with standard header in GNU format.

I have found that all the variables I need at http://www.gnu.org/software/automake/manual/tar/Standard.html.

Is there any header to be included that has the tar structure already defined?
LVL 1
cicloideAsked:
Who is Participating?
 
ssnkumarConnect With a Mentor Commented:
The page you are referring to is from the source code of GNU tar.
So, you may have to download the source code complete and then compile.

If you building your own API's, then you can make use of:
#include <tar.h>
in your code and this has some macros which will be useful in your code.
0
 
Infinity08Connect With a Mentor Commented:
libtar sounds like what you need :

        http://www.feep.net/libtar/
0
 
cicloideAuthor Commented:
They lead me to more information but the answered the question.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.