Various improvements. Close-on-exec and close on failure on either
[egate.git] / util / gip.c
index ba09b69..f0c02a4 100644 (file)
@@ -2,7 +2,11 @@
  * Europagate, 1995
  *
  * $Log: gip.c,v $
- * Revision 1.4  1995/04/21 16:38:07  adam
+ * Revision 1.5  1995/05/01 16:27:28  adam
+ * Various improvements. Close-on-exec and close on failure on either
+ * read or write FIFO.
+ *
+ * Revision 1.4  1995/04/21  16:38:07  adam
  * Added more debugging logs.
  *
  * Revision 1.3  1995/04/20  15:12:42  adam
@@ -64,6 +68,11 @@ int gip_infileno (GIP gip)
     return gip->rfd;
 }
 
+int gip_outfileno (GIP gip)
+{
+    return gip->wfd;
+}
+
 int gip_errno (GIP gip)
 {
     return gip->errno;