2340e7b446423b2e217523ade3663466eca5ad81
[unix-history] / usr / src / local / sccscmds / sccscmds.ok / util / xpipe.c
static char Sccsid[] "@(#)xpipe 2.1";
/*
Interface to pipe(II) which handles all error conditions.
Returns 0 on success,
fatal() on failure.
*/
xpipe(t)
int *t;
{
static char p[] "pipe";
if (pipe(t) == 0)
return(0);
return(xmsg(p,p));
}