Files
rtems/cpukit/libmisc/untar
Joel Sherrill be2cd08cb5 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* cpuuse/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* devnull/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* dummy/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* dumpbuf/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* monitor/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* mw-fb/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rootfs/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* rtmonuse/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* shell/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* stackchk/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* untar/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:49:39 +00:00
..

#
#  
#  untar information
#
#  Author: Jake Janovetz 7.6.1999
#
#  $Id$
#

untar.c contains two procedures for extracting files from a UNIX
tar file:

    int Untar_FromMemory(unsigned char *tar_buf, unsigned long size);
    int Untar_FromFile(char *tar_name);

Untar_FromMemory(...) takes its input from a chunk of allocated memory.
This is particularly useful when the tar is stored in Flash memory or
comes from the FTP daemon by way of a hook.

Untar_FromFile(...) is identical except the source is from an existing
file.  The fully qualified filename is passed through char *tar_name.



BUGS: Please email janovetz@uiuc.edu
-----