use jmp_buf
[unix-history] / usr / src / local / sccscmds / sccscmds.ok / util / xpipe.c
CommitLineData
455d17bb 1static char Sccsid[] = "@(#)xpipe.c 1.2 %G%";
cfc1a9b8
JL
2/*
3 Interface to pipe(II) which handles all error conditions.
4 Returns 0 on success,
5 fatal() on failure.
6*/
7
8xpipe(t)
9int *t;
10{
455d17bb 11 static char p[] = "pipe";
cfc1a9b8
JL
12
13 if (pipe(t) == 0)
14 return(0);
15 return(xmsg(p,p));
16}