Commit | Line | Data |
---|---|---|
2490df84 KB |
1 | /*- |
2 | * Copyright (c) 1991 The Regents of the University of California. | |
3 | * All rights reserved. | |
4 | * | |
5 | * %sccs.include.redist.c% | |
6 | * | |
49082a18 | 7 | * @(#)extern.h 5.3 (Berkeley) %G% |
2490df84 KB |
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 | |
49082a18 | 20 | void err __P((const char *fmt, ...)); |
98e7fbad KB |
21 | int path_set __P((PATH_T *, char *)); |
22 | char *path_append __P((PATH_T *, char *, int)); | |
23 | char *path_basename __P((PATH_T *)); | |
24 | void path_restore __P((PATH_T *, char *)); | |
2490df84 | 25 | __END_DECLS |