Files
epics-base/src/libCom/osi/osiProcess.h
Andrew Johnson fbda9f3280 RCS keyword updates for Bazaar
Replaced $Id$ and $Header$ keywords with $Revision-Id$
Deleted $Log$ keywords and any log messages
2010-10-05 14:27:37 -05:00

47 lines
1.5 KiB
C

/*************************************************************************\
* Copyright (c) 2002 The University of Chicago, as Operator of Argonne
* National Laboratory.
* Copyright (c) 2002 The Regents of the University of California, as
* Operator of Los Alamos National Laboratory.
* EPICS BASE Versions 3.13.7
* and higher are distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
\*************************************************************************/
/*
* $Revision-Id$
*
* Operating System Independent Interface to Process Environment
*
* Author: Jeff Hill
*
*/
#include "shareLib.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef enum osiGetUserNameReturn {
osiGetUserNameFail,
osiGetUserNameSuccess} osiGetUserNameReturn;
epicsShareFunc osiGetUserNameReturn epicsShareAPI osiGetUserName (char *pBuf, unsigned bufSize);
/*
* Spawn detached process with named executable, but return
* osiSpawnDetachedProcessNoSupport if the local OS does not
* support heavy weight processes.
*/
typedef enum osiSpawnDetachedProcessReturn {
osiSpawnDetachedProcessFail,
osiSpawnDetachedProcessSuccess,
osiSpawnDetachedProcessNoSupport} osiSpawnDetachedProcessReturn;
epicsShareFunc osiSpawnDetachedProcessReturn epicsShareAPI osiSpawnDetachedProcess
(const char *pProcessName, const char *pBaseExecutableName);
#ifdef __cplusplus
}
#endif