?
Solved

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

Posted on 2011-02-23
3
Medium Priority
?
332 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 1000 total points
ID: 34967814
libtar sounds like what you need :

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

Accepted Solution

by:
ssnkumar earned 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
#Citrix #POC #XenDesktop #vCenter #VMware #ESX
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them 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.

765 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