Solved

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

Posted on 2011-02-23
3
326 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Hello I read in a discussion about a person who configured a very simple mirror RAID with two hard drives; the system and data were on the same partition. He asked how to repair the system as it was not booting up anymore. In his case running …
Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

688 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