summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3084bb0)
SCCS-vsn: local/sccscmds/sccscmds.2/util/xpipe.c 1.1
SCCS-vsn: local/sccscmds/sccscmds.ok/util/xpipe.c 1.1
--- /dev/null
+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));
+}
--- /dev/null
+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));
+}