Simple single-threaded tool to uncompress .xz or .lzma files. More...
#include "sysdefs.h"#include "lzma.h"#include <stdarg.h>#include <errno.h>#include <stdio.h>#include <unistd.h>#include "getopt.h"#include "tuklib_progname.h"#include "tuklib_exit.h"Defines | |
| #define | TOOL_FORMAT "xz" |
Functions | |
| static void | lzma_attribute ((format(printf, 1, 2))) |
| static void | lzma_attribute ((noreturn)) |
| static void | parse_options (int argc, char **argv) |
| Parses command line options. | |
| static void | uncompress (lzma_stream *strm, FILE *file, const char *filename) |
| int | main (int argc, char **argv) |
Variables | |
| static unsigned int | display_errors = 2 |
Simple single-threaded tool to uncompress .xz or .lzma files.
| static void parse_options | ( | int | argc, | |
| char ** | argv | |||
| ) | [static] |
Parses command line options.
References display_errors.
unsigned int display_errors = 2 [static] |
Error messages are suppressed if this is zero, which is the case when --quiet has been given at least twice.
Referenced by parse_options().
1.7.1