1 /*- 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)extern.h 8.1 (Berkeley) 05/31/93 8 */ 9 10 typedef struct { 11 char *p_end; /* pointer to NULL at end of path */ 12 char *target_end; /* pointer to end of target base */ 13 char p_path[MAXPATHLEN + 1]; /* pointer to the start of a path */ 14 } PATH_T; 15 16 extern char *progname; /* program name */ 17 extern PATH_T to; 18 extern int iflag, pflag; 19 extern uid_t myuid; 20 extern int exit_val, myumask; 21 22 #include <sys/cdefs.h> 23 24 __BEGIN_DECLS 25 void copy_fifo __P((struct stat *, int)); 26 void copy_file __P((FTSENT *, int)); 27 void copy_link __P((FTSENT *, int)); 28 void copy_special __P((struct stat *, int)); 29 void err __P((const char *fmt, ...)); 30 void setfile __P((struct stat *, int)); 31 void usage __P((void)); 32 __END_DECLS 33