109 { kill(d->
pid,15); kill(d->
pid,9); }
137 if ((
i>=0) && (
s[
i]==
'\n'))
s[
i]=
'\0';
163 WerrorS(
"cannot convert to string");
177 if (d==
NULL)
return "not open";
198 case 0:
return "not ready";
199 case -1:
return "error";
200 default:
return "ready";
208 return "unknown status request";
Class used for (list of) interpreter objects.
char * String(void *d=NULL, BOOLEAN typed=FALSE, int dim=1)
Called for conversion to string (used by string(..), write(..),..)
const CanonicalForm int s
void WerrorS(const char *s)
#define omFreeSize(addr, size)
static BOOLEAN pipeOpen(si_link l, short flag, leftv)
EXTERN_VAR si_link pipeLastLink
static const char * slStatusPipe(si_link l, const char *request)
si_link_extension slInitPipeExtension(si_link_extension s)
static BOOLEAN pipeKill(si_link l)
static leftv pipeRead1(si_link l)
static BOOLEAN pipeClose(si_link l)
static BOOLEAN pipeWrite(si_link l, leftv data)
void Werror(const char *fmt,...)
BOOLEAN slOpen(si_link l, short flag, leftv h)
#define SI_LINK_W_OPEN_P(l)
leftv(* slRead2Proc)(si_link l, leftv a)
#define SI_LINK_SET_R_OPEN_P(l)
#define SI_LINK_SET_CLOSE_P(l)
#define SI_LINK_R_OPEN_P(l)
#define SI_LINK_SET_RW_OPEN_P(l)
#define SI_LINK_OPEN_P(l)