4.104.114.84.95
Last change
on this file since 9608320 was
2728b074,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/09/99 at 17:23:15
|
New file from Jake Janovetz <janovetz@…>.
|
-
Property mode set to
100644
|
File size:
637 bytes
|
Rev | Line | |
---|
[2728b074] | 1 | # |
---|
| 2 | # |
---|
| 3 | # untar information |
---|
| 4 | # |
---|
| 5 | # Author: Jake Janovetz 7.6.1999 |
---|
| 6 | # |
---|
| 7 | # $Id$ |
---|
| 8 | # |
---|
| 9 | |
---|
| 10 | untar.c contains two procedures for extracting files from a UNIX |
---|
| 11 | tar file: |
---|
| 12 | |
---|
| 13 | int Untar_FromMemory(unsigned char *tar_buf, unsigned long size); |
---|
| 14 | int Untar_FromFile(char *tar_name); |
---|
| 15 | |
---|
| 16 | Untar_FromMemory(...) takes its input from a chunk of allocated memory. |
---|
| 17 | This is particularly useful when the tar is stored in Flash memory or |
---|
| 18 | comes from the FTP daemon by way of a hook. |
---|
| 19 | |
---|
| 20 | Untar_FromFile(...) is identical except the source is from an existing |
---|
| 21 | file. The fully qualified filename is passed through char *tar_name. |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | BUGS: Please email janovetz@uiuc.edu |
---|
| 26 | ----- |
---|
Note: See
TracBrowser
for help on using the repository browser.