summaryrefslogtreecommitdiffstats
path: root/funtools/util/find.h
blob: d7d4dbd5d9b5118507b102d49c1f1928b6dc6fb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 *	Copyright (c) 1999-2003 Smithsonian Astrophysical Observatory
 */

/*
 *
 * find.h -- declarations for find finding
 *
 */

#ifndef	__find_h
#define	__find_h

#if HAVE_CONFIG_H
#include "conf.h"
#endif

#include <stdio.h>
#include <ctype.h>
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
#if HAVE_STRING_H
#include <string.h>
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include "xalloc.h"
#include "prsetup.h"

_PRbeg

char *ResolvePath _PRx((char *ibuf, char *obuf, int maxlen));
void ExpandEnv _PRx((char *name, char *fullname, int maxlen));
char *Access _PRx((char *name, char *mode));
char *Find _PRx((char *name, char *mode, char *extn, char *path));

_PRend

#endif