Files
rtems/cpukit/libmisc/untar
Joel Sherrill 5e80d1077b cpukit/libmisc/untar/untar.c: Correct third argument
The call to Untar_FromMemory_Print() on line 400 was passing
false as the third argument. "rtems_printer *" was expected.
In C previous to C23, false was a macro defined as 0 and could
be converted to a pointer. In C23, false, true, and bool are keywords.
2026-01-14 16:27:07 -06:00
..
2023-05-20 11:05:26 +02:00

untar

Author: Jake Janovetz 7.6.1999 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