summaryrefslogtreecommitdiff
path: root/tools/llee/SysUtils.h
blob: 84e7f9d6b2e9148946dbf7dddeafabb489677488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*===- SysUtils.h - Utilities to do low-level system stuff -------*- C -*--===*\
 *                                                                            *
 * This file contains functions used to do a variety of low-level, often      *
 * system-specific, tasks.                                                    *
 *                                                                            *
\*===----------------------------------------------------------------------===*/

#ifndef SYSUTILS_H
#define SYSUTILS_H

/*
 * isExecutableFile - This function returns true if the filename specified
 * exists and is executable.
 */
unsigned isExecutableFile(const char *ExeFileName);

/*
 * FindExecutable - Find a named executable in the path.
 */ 
char *FindExecutable(const char *ExeName);

#endif