tar_extract_all man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

tar_extract_all(3)		C Library Calls		    tar_extract_all(3)

NAME
       tar_extract_all, tar_extract_glob, tar_append_tree - high-level tar ar‐
       chive manipulation functions

SYNOPSIS
       #include <libtar.h>

       int tar_extract_all(TAR *t, char *prefix);

       int tar_extract_glob(TAR *t, char *globname, char *prefix);

       int tar_append_tree(TAR *t, char *realdir, char *savedir);

VERSION
       This man page documents version 1.2 of libtar.

DESCRIPTION
       The tar_extract_all() function extracts all files from the tar  archive
       associated  with	 the  TAR  handle  t into the path named by the prefix
       argument.

       The tar_extract_glob() function extracts all files matching  the	 given
       glob pattern from the tar archive associated with the TAR handle t into
       the path named by the prefix argument.

       The tar_append_tree() function appends all  files  from	the  directory
       tree named by realdir to the tar archive associated with the TAR handle
       t.  The pathnames stored in the tar archive are modified	 by  replacing
       realdir with savedir, so that the files will be extracted into savedir.

RETURN VALUES
       On  successful  completion, these functions will return 0.  On failure,
       they will return -1 and set errno to an appropriate value.

ERRORS
       These  functions	 will  fail  under  the	 same  conditions   that   the
       tar_skip_regfile(),   tar_extract_regfile(),   opendir(),  lstat(),  or
       tar_append_file() functions fail.

SEE ALSO
       opendir(2),  lstat(2),	tar_skip_regfile(3),   tar_extract_regfile(3),
       tar_append_file(3)

University of Illinois		   Jan 2001		    tar_extract_all(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net