/****** Struct sgttyb ioctl's ********/
/*************************************/
+#if 0
+ /* FIXME: I'm not entirely certain what these do; I think they have
+ * to do with serial port manipulation. If so, they need to be rewritten
+ * to use the Posix standards. ---dtrg */
+
case TIOCGETP:
/* Get fd's current param's and store at dsp2 */
if ( (e = ioctl(fd, req, (char *) &sg_buf)) == -1
/* These have no third argument. */
e = ioctl(fd, req, (char *) 0);
break;
+#endif
#ifdef BSD_X /* from system.h */
/*************************************/
return 1;
}
+#if 0
+/* FIXME: see the related fixme in m_ioctlc. ---dtrg */
int sgttyb2mem(addr, sgttybb)
ptr addr;
struct sgttyb *sgttybb;
mem_stfld(addr, V7sg_flags, (long) sgttybb->sg_flags);
return 1;
}
+#endif
#ifdef BSD_X /* from system.h */
int tchars2mem(addr, tcharsb)
return mem_ldu(addr + offset, length);
}
+#if 0
+/* FIXME: see the related fixme in m_ioctlc. ---dtrg */
int mem2sgtty(addr, sgttybb)
ptr addr;
struct sgttyb *sgttybb;
sgttybb->sg_flags = (short) mem_ldfld(addr, V7sg_flags);
return 1;
}
+#endif
#ifdef BSD_X /* from system.h */
int mem2tchars(addr, tcharsb)