ngc 1.5.0
 
Loading...
Searching...
No Matches
ngcppExec.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <netdb.h>
#include <unistd.h>
#include <signal.h>
#include <ngc/core/ngcppInt.h>

Functions

int ngcppExec (const char *host, const char *cmd, int xt, int debugPort, int *pid, char *erms)
 
int ngcppKill (const char *host, int pid, char *erms)
 

Detailed Description

Function Documentation

◆ ngcppExec()

int ngcppExec ( const char * host,
const char * cmd,
int xt,
int debugPort,
int * pid,
char * erms )

Execute an acquisition process on a remote host host. If xt-flag is one, verbose output is done on a new x-terminal. If the debugPort is greater than zero, the verbose output is sent to this port. The function returns a process id (pid) to be used for ngcppComKill().

◆ ngcppKill()

int ngcppKill ( const char * host,
int pid,
char * erms )

Send a termination signal to the acquisition process on host.