A lot of changes were suggested by Chris.
[oota-llvm.git] / tools / llee / SysUtils.h
1 /*===- SysUtils.h - Utilities to do low-level system stuff -------*- C -*--===*\
2  *                                                                            *
3  * This file contains functions used to do a variety of low-level, often      *
4  * system-specific, tasks.                                                    *
5  *                                                                            *
6 \*===----------------------------------------------------------------------===*/
7
8 #ifndef SYSUTILS_H
9 #define SYSUTILS_H
10
11 /*
12  * isExecutableFile - This function returns true if the filename specified
13  * exists and is executable.
14  */
15 unsigned isExecutableFile(const char *ExeFileName);
16
17 /*
18  * FindExecutable - Find a named executable in the path.
19  */ 
20 char *FindExecutable(const char *ExeName);
21
22 #endif