Commit | Line | Data |
---|---|---|
1 | static char Sccsid[] = "@(#)xpipe.c 1.2 %G%"; | |
2 | /* | |
3 | Interface to pipe(II) which handles all error conditions. | |
4 | Returns 0 on success, | |
5 | fatal() on failure. | |
6 | */ | |
7 | ||
8 | xpipe(t) | |
9 | int *t; | |
10 | { | |
11 | static char p[] = "pipe"; | |
12 | ||
13 | if (pipe(t) == 0) | |
14 | return(0); | |
15 | return(xmsg(p,p)); | |
16 | } |