Commit | Line | Data |
---|---|---|
455d17bb | 1 | static 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 | ||
8 | xpipe(t) | |
9 | int *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 | } |