28 lines
631 B
C
28 lines
631 B
C
/* Copyright (c) 1990, 1991 UNIX System Laboratories, Inc. */
|
|
/* Copyright (c) 1988 AT&T */
|
|
/* All Rights Reserved */
|
|
|
|
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF */
|
|
/* UNIX System Laboratories, Inc. */
|
|
/* The copyright notice above does not evidence any */
|
|
/* actual or intended publication of such source code. */
|
|
|
|
#ident "@(#)sccs:lib/mpwlib/xpipe.c 6.3"
|
|
/*
|
|
Interface to pipe(II) which handles all error conditions.
|
|
Returns 0 on success,
|
|
fatal() on failure.
|
|
*/
|
|
|
|
int
|
|
xpipe(t)
|
|
int *t;
|
|
{
|
|
static char p[]="pipe";
|
|
int pipe(), xmsg();
|
|
|
|
if (pipe(t) == 0)
|
|
return(0);
|
|
return(xmsg(p,p));
|
|
}
|