* Europagate, 1995
*
* $Log: gip.h,v $
+ * Revision 1.5 1997/12/15 15:04:18 adam
+ * Changed name of member errno to errorno since some systems
+ * defines error as a preprocessor variable.
+ *
* Revision 1.4 1995/05/22 09:03:38 adam
* New argument, block, to cs_open.
*
int wfd;
char *name;
int ret;
- int errno;
+ int errorno;
} *GIP;
GIP gip_initialize (const char *name);
* Europagate, 1995
*
* $Log: gip.c,v $
+ * Revision 1.9 1997/12/15 15:04:18 adam
+ * Changed name of member errno to errorno since some systems
+ * defines error as a preprocessor variable.
+ *
* Revision 1.8 1995/05/22 09:03:41 adam
* New argument, block, to cs_open.
*
}
strcpy (gip->name, name);
gip->ret = mknod (gip->name, S_IFIFO|0666, 0);
- gip->errno = errno;
+ gip->errorno = errno;
gip->rfd = gip->wfd = -1;
gw_log (GW_LOG_DEBUG, "gip", "Creating %s", gip->name);
return gip;
int gip_errno (GIP gip)
{
- return gip->errno;
+ return gip->errorno;
}
int gip_read (GIP gip, char *buf, size_t count)
break;
if (errno != EINTR)
{
- gip->errno = errno;
+ gip->errorno = errno;
return -1;
}
}
break;
if (errno != EINTR)
{
- gip->errno = errno;
+ gip->errorno = errno;
return -1;
}
}