1 /*- 2 * Copyright (c) 1991 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)extern.h 5.2 (Berkeley) 04/03/91 8 */ 9 10 typedef struct { 11 char *p_end; /* pointer to NULL at end of path */ 12 char p_path[MAXPATHLEN + 1]; /* pointer to the start of a path */ 13 } PATH_T; 14 15 extern char *progname; /* program name */ 16 17 #include <sys/cdefs.h> 18 19 __BEGIN_DECLS 20 int path_set __P((PATH_T *, char *)); 21 char *path_append __P((PATH_T *, char *, int)); 22 char *path_basename __P((PATH_T *)); 23 void path_restore __P((PATH_T *, char *)); 24 __END_DECLS 25