This is Unofficial EPICS BASE Doxygen Site
osiProcess.h
Go to the documentation of this file.
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 * EPICS BASE is distributed subject to a Software License Agreement found
7 * in file LICENSE that is included with this distribution.
8 \*************************************************************************/
9 
10 #ifndef INC_osiProcess_H
11 #define INC_osiProcess_H
12 
13 /*
14  * Operating System Independent Interface to Process Environment
15  *
16  * Author: Jeff Hill
17  *
18  */
19 #include "libComAPI.h"
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 typedef enum osiGetUserNameReturn {
28 LIBCOM_API osiGetUserNameReturn epicsStdCall osiGetUserName (char *pBuf, unsigned bufSize);
29 
30 /*
31  * Spawn detached process with named executable, but return
32  * osiSpawnDetachedProcessNoSupport if the local OS does not
33  * support heavy weight processes.
34  */
39 
40 LIBCOM_API osiSpawnDetachedProcessReturn epicsStdCall osiSpawnDetachedProcess
41  (const char *pProcessName, const char *pBaseExecutableName);
42 
43 #ifdef __cplusplus
44 }
45 #endif
46 
47 #endif /* INC_osiProcess_H */
osiSpawnDetachedProcessReturn
Definition: osiProcess.h:35
LIBCOM_API osiSpawnDetachedProcessReturn epicsStdCall osiSpawnDetachedProcess(const char *pProcessName, const char *pBaseExecutableName)
Definition: osdProcess.c:61
osiGetUserNameReturn
Definition: osiProcess.h:25
LIBCOM_API osiGetUserNameReturn epicsStdCall osiGetUserName(char *pBuf, unsigned bufSize)
Definition: osdProcess.c:33