EPICS Base  7.0.6.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
osiFileName.h
1 /*************************************************************************\
2 * Copyright (c) 2002 The University of Chicago, as Operator of Argonne
3 * National Laboratory.
4 * Copyright (c) 2002 The Regents of the University of California, as
5 * Operator of Los Alamos National Laboratory.
6 * SPDX-License-Identifier: EPICS
7 * EPICS Base is distributed subject to a Software License Agreement found
8 * in file LICENSE that is included with this distribution.
9 \*************************************************************************/
10 /*
11  * osiFileName.h
12  * Author: Jeff Hill
13  */
14 #ifndef osiFileNameH
15 #define osiFileNameH
16 
17 #include <libComAPI.h>
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 #if defined(_WIN32) || defined(__CYGWIN__)
24 # define OSI_PATH_LIST_SEPARATOR ";"
25 # define OSI_PATH_SEPARATOR "\\"
26 #else
27 # define OSI_PATH_LIST_SEPARATOR ":"
28 # define OSI_PATH_SEPARATOR "/"
29 #endif
30 
34 LIBCOM_API
35 char *epicsGetExecName(void);
36 
40 LIBCOM_API
41 char *epicsGetExecDir(void);
42 
43 #ifdef __cplusplus
44 }
45 #endif
46 
47 #endif /* osiFileNameH */