OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [libmisc/] [untar/] [README] - Rev 552

Go to most recent revision | Compare with Previous | Blame | View Log

#
#  
#  untar information
#
#  Author: Jake Janovetz 7.6.1999
#
#  $Id: README,v 1.2 2001-09-27 12:01:46 chris Exp $
#

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
-----

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.