* Copyright (c) 1990 The Regents of the University of California.
* This code is derived from software contributed to Berkeley by
* Hugh Smith at The University of Guelph.
* @(#)archive.h 5.3 (Berkeley) %G%
#define SETCF(from, fromname, to, toname, pad) { \
/* File copy structure. */
int rfd
; /* read file descriptor */
char *rname
; /* read name */
int wfd
; /* write file descriptor */
char *wname
; /* write name */
#define NOPAD 0x00 /* don't pad */
#define RPAD 0x01 /* pad on reads */
#define WPAD 0x02 /* pad on writes */
u_int flags
; /* pad flags */
/* Header structure internal format. */
off_t size
; /* size of the object in bytes */
int lname
; /* size of the long name in bytes */
u_short mode
; /* permissions */
char name
[MAXNAMLEN
+ 1]; /* name */
/* Print out any files that weren't in the archive. */
"ar: %s: not found in archive.\n", *argv); \
/* Old archive format name limit. */
/* Header format strings. */
#define HDR1 "%s%-13d%-12ld%-6u%-6u%-8o%-10ld%2s"
#define HDR2 "%-16.16s%-12ld%-6u%-6u%-8o%-10ld%2s"