extern int errno;
#endif
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-#ifdef STDC_HEADERS
-#include <string.h>
-#include <stdlib.h>
-#endif
-
/* Maximum size of a fully qualified host name. */
#define MAXHOSTLEN 257
for (i = 0; i < rc; i += nbyte, buf += nbyte)
{
- nbyte = read (READ (fildes), buf, rc - i);
+ nbyte = read (READ (fildes), buf, rc);
if (nbyte <= 0)
{
_rmt_shutdown (fildes);
Return the results of the ioctl, or -1 on error. */
#ifdef MTIOCTOP
-int
__rmt_ioctl (fildes, op, arg)
int fildes, op;
char *arg;