th_set_from_stat(3) C Library Calls th_set_from_stat(3)NAME
th_set_from_stat, th_finish, th_set_type, th_set_path, th_set_link, th_set_device, th_set_user, th_set_group, th_set_mode, th_set_mtime,
th_set_size - set fields of a tar file header
SYNOPSIS
#include <libtar.h>
void th_set_from_stat(TAR *t, struct stat *s);
void th_set_type(TAR *t, mode_t mode);
void th_set_path(TAR *t, char *pathname);
void th_set_link(TAR *t, char *linkname);
void th_set_device(TAR *t, dev_t device);
void th_set_user(TAR *t, uid_t uid);
void th_set_group(TAR *t, gid_t gid);
void th_set_mode(TAR *t, mode_t mode);
void th_set_mtime(TAR *t, time_t fmtime);
void th_set_size(TAR *t, off_t fsize);
void th_finish(TAR *t);
VERSION
This man page documents version 1.2 of libtar.
DESCRIPTION
The th_set_*() functions each set an individual field of the current tar header associated with the TAR handle t. The th_set_user() and
th_set_group() functions set both the numeric user/group ID fields and the user/group name text fields. The other functions set only the
field that they refer to.
The th_set_from_stat() function uses the other th_set_*() functions to set all of the fields at once, based on the data passed to it in the
argument s.
The th_finish() function sets the appropriate constants for the magic and version fields. It then calculates the header checksum and fills
in the checksum field.
SEE ALSO lstat(2)University of Illinois Jan 2001 th_set_from_stat(3)
Check Out this Related Man Page
th_set_from_stat(3) C Library Calls th_set_from_stat(3)NAME
th_set_from_stat, th_finish, th_set_type, th_set_path, th_set_link, th_set_device, th_set_user, th_set_group, th_set_mode, th_set_mtime,
th_set_size - set fields of a tar file header
SYNOPSIS
#include <libtar.h>
void th_set_from_stat(TAR *t, struct stat *s);
void th_set_type(TAR *t, mode_t mode);
void th_set_path(TAR *t, char *pathname);
void th_set_link(TAR *t, char *linkname);
void th_set_device(TAR *t, dev_t device);
void th_set_user(TAR *t, uid_t uid);
void th_set_group(TAR *t, gid_t gid);
void th_set_mode(TAR *t, mode_t mode);
void th_set_mtime(TAR *t, time_t fmtime);
void th_set_size(TAR *t, off_t fsize);
void th_finish(TAR *t);
VERSION
This man page documents version 1.2 of libtar.
DESCRIPTION
The th_set_*() functions each set an individual field of the current tar header associated with the TAR handle t. The th_set_user() and
th_set_group() functions set both the numeric user/group ID fields and the user/group name text fields. The other functions set only the
field that they refer to.
The th_set_from_stat() function uses the other th_set_*() functions to set all of the fields at once, based on the data passed to it in the
argument s.
The th_finish() function sets the appropriate constants for the magic and version fields. It then calculates the header checksum and fills
in the checksum field.
SEE ALSO lstat(2)University of Illinois Jan 2001 th_set_from_stat(3)
Ladies and Gentlemen:
I am short on time and need to get up to speed fast on the use of flash archives. I am very familiar with Jumpstart and have used it successfully for the past 5 years. The current project I am working on requires optimization of time and speed when deploying systems which is... (0 Replies)
Ladies and Gentlemen:
I am short on time and need to get up to speed fast on the use of flash archives. I am very familiar with Jumpstart and have used it successfully for the past 5 years. The current project I am working on requires optimization of time and speed when deploying systems which is... (4 Replies)
Hello,
I need help with finishing this script.
I just want to find users that are locked more than 30 days and also assiociate this script with another one that show users which have not logged in at all for each server that I have.
serverlist=/home/myusername/server.lst
for server in... (2 Replies)
I have a script something like this:
#!/usr/bin/ksh
CLASSPATH=/apps/opt/db2udb/admin/db2bdt/sqllib/java/db2java.zip:/apps/opt/db2udb/admin/db2bdt/sqllib/java/db2jcc.jar:/apps/opt/db2udb/admin/db2bdt/sqllib/function:$CLASSPATH
export CLASSPATH
... (7 Replies)
hi,
we work on an IBM machine, and we have an INFORMIX datbase, we need to make a dbexport which create a flat files according to the tables we have.
we are on AIX OS using ksh 5.3
we need to make the dbexport and the compress (gzip) in the same time
i tried to make a shell but i'm... (1 Reply)