blob: 84e7f9d6b2e9148946dbf7dddeafabb489677488 [file] [log] [blame]
Misha Brukman593ece02003-08-15 23:31:16 +00001/*===- SysUtils.h - Utilities to do low-level system stuff -------*- C -*--===*\
Misha Brukman0abaaf42003-08-11 22:29:36 +00002 * *
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 Brukman0abaaf42003-08-11 22:29:36 +000011/*
12 * isExecutableFile - This function returns true if the filename specified
13 * exists and is executable.
14 */
Misha Brukman593ece02003-08-15 23:31:16 +000015unsigned isExecutableFile(const char *ExeFileName);
Misha Brukman0abaaf42003-08-11 22:29:36 +000016
17/*
Misha Brukman593ece02003-08-15 23:31:16 +000018 * FindExecutable - Find a named executable in the path.
Misha Brukman0abaaf42003-08-11 22:29:36 +000019 */
20char *FindExecutable(const char *ExeName);
21
22#endif