** implementation of this package without changing the
** interface.
*/
-#if !defined(_SEQUENT_)
typedef struct dbuf
{
u_int length; /* Current number of bytes stored */
/* added by mnystrom@mit.edu: */
struct dbufbuf *tail; /* last data buffer, if length > 0 */
} dbuf;
-#else
-typedef struct dbuf
- {
- uint length; /* Current number of bytes stored */
- uint offset; /* Offset to the first byte */
- struct dbufbuf *head; /* First data buffer, if length > 0 */
- /* added by mnystrom@mit.edu: */
- struct dbufbuf *tail; /* last data buffer, if length > 0 */
- } dbuf;
-#endif
/*
** And this 'dbufbuf' should never be referenced outside the
** implementation of 'dbuf'--would be "hidden" if C had such
#include <sys/ioctl.h>
#include <utmp.h>
#include <sys/resource.h>
-#if (!defined(SVR3) || defined(sgi) || defined(_SEQUENT_))
#include <sys/un.h>
-#endif
#include <arpa/inet.h>
#include <stdio.h>
#include <signal.h>
}
}
#endif
-#if defined(PCS) || defined(DYNIXPTX) || defined(SVR3)
- char logbuf[BUFSIZ];
-
- (void) setvbuf (stderr, logbuf, _IOLBF, sizeof (logbuf));
-#else
(void) setlinebuf (stderr);
-#endif
+
for (fd = 3; fd < MAXCONNECTIONS; fd++) {
(void) close (fd);
local[fd] = NULL;