|
EPICS Base
7.0.8.1
|
Operating System Independent Interface to Process Environment. More...
#include "libComAPI.h"
Go to the source code of this file.
Functions | |
| LIBCOM_API osiGetUserNameReturn epicsStdCall | osiGetUserName (char *pBuf, unsigned bufSize) |
| get user name More... | |
| LIBCOM_API osiSpawnDetachedProcessReturn epicsStdCall | osiSpawnDetachedProcess (const char *pProcessName, const char *pBaseExecutableName) |
| Spawn detached process. More... | |
| enum osiGetUserNameReturn |
Return code for osiGetUserName()
| Enumerator | |
|---|---|
| osiGetUserNameFail |
Failed |
| osiGetUserNameSuccess |
Succeeded |
Definition at line 30 of file osiProcess.h.
Return code for osiSpawnDetachedProcess()
| Enumerator | |
|---|---|
| osiSpawnDetachedProcessFail |
Failed |
| osiSpawnDetachedProcessSuccess |
Succeeded |
| osiSpawnDetachedProcessNoSupport |
Not supported by OS |
Definition at line 49 of file osiProcess.h.
| LIBCOM_API osiGetUserNameReturn epicsStdCall osiGetUserName | ( | char * | pBuf, |
| unsigned | bufSize | ||
| ) |
Get the name of the user associated with the current process and copy the name into the provided buffer
| pBuf | buffer where user name is copied into |
| bufSize | size of input buffer. |
| LIBCOM_API osiSpawnDetachedProcessReturn epicsStdCall osiSpawnDetachedProcess | ( | const char * | pProcessName, |
| const char * | pBaseExecutableName | ||
| ) |
Spawn detached process with named executable.
| pProcessName | process name to be displayed. Not used in all OSs |
| pBaseExecutableName | path to executable |
1.8.5