Misha Brukman | 593ece0 | 2003-08-15 23:31:16 +0000 | [diff] [blame^] | 1 | /*===- SysUtils.h - Utilities to do low-level system stuff -------*- C -*--===*\ |
Misha Brukman | 0abaaf4 | 2003-08-11 22:29:36 +0000 | [diff] [blame] | 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 | |
Misha Brukman | 0abaaf4 | 2003-08-11 22:29:36 +0000 | [diff] [blame] | 11 | /* |
| 12 | * isExecutableFile - This function returns true if the filename specified |
| 13 | * exists and is executable. |
| 14 | */ |
Misha Brukman | 593ece0 | 2003-08-15 23:31:16 +0000 | [diff] [blame^] | 15 | unsigned isExecutableFile(const char *ExeFileName); |
Misha Brukman | 0abaaf4 | 2003-08-11 22:29:36 +0000 | [diff] [blame] | 16 | |
| 17 | /* |
Misha Brukman | 593ece0 | 2003-08-15 23:31:16 +0000 | [diff] [blame^] | 18 | * FindExecutable - Find a named executable in the path. |
Misha Brukman | 0abaaf4 | 2003-08-11 22:29:36 +0000 | [diff] [blame] | 19 | */ |
| 20 | char *FindExecutable(const char *ExeName); |
| 21 | |
| 22 | #endif |