|
gint untgz_write_file |
( |
struct untgz_state * |
s, |
|
|
gchar * |
altname | |
|
) |
| | |
Write current file to the disk.
- Parameters:
-
| s | Pointer to the untgz_state object. |
| altname | Optional alternative name for the file that will be extracted from the archive. If this is 0 then the original name is used. |
- Returns:
- 0 on success, 1 if file was already written, -1 on error.
|