mirror of
https://github.com/Binary-Coalescence/motorDSM.git
synced 2025-08-06 06:15:40 -05:00
24 lines
403 B
C++
24 lines
403 B
C++
![]() |
/* acsMain.cpp */
|
||
|
/* Author: Marty Kraimer Date: 17MAR2000 */
|
||
|
|
||
|
#include <stddef.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <stddef.h>
|
||
|
#include <string.h>
|
||
|
#include <stdio.h>
|
||
|
|
||
|
#include "epicsExit.h"
|
||
|
#include "epicsThread.h"
|
||
|
#include "iocsh.h"
|
||
|
|
||
|
int main(int argc,char *argv[])
|
||
|
{
|
||
|
if(argc>=2) {
|
||
|
iocsh(argv[1]);
|
||
|
epicsThreadSleep(.2);
|
||
|
}
|
||
|
iocsh(NULL);
|
||
|
epicsExit(0);
|
||
|
return(0);
|
||
|
}
|