Solved

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

Posted on 2011-02-23
3
310 Views
Last Modified: 2012-05-11
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?
0
Comment
Question by:cicloide
3 Comments
 
LVL 53

Assisted Solution

by:Infinity08
Infinity08 earned 250 total points
ID: 34967814
libtar sounds like what you need :

        http://www.feep.net/libtar/
0
 
LVL 8

Accepted Solution

by:
ssnkumar earned 250 total points
ID: 34968458
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
 
LVL 1

Author Closing Comment

by:cicloide
ID: 35100200
They lead me to more information but the answered the question.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now