changeset 12450:2d08a807d233

(PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN) (PTY_TTY_NAME_SPRINTF): New definitions.
author Richard M. Stallman <rms@gnu.org>
date Fri, 30 Jun 1995 21:04:38 +0000
parents 1370b4b76c60
children 4439dcb1496a
files src/m/alpha.h
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/alpha.h	Fri Jun 30 20:57:55 1995 +0000
+++ b/src/m/alpha.h	Fri Jun 30 21:04:38 1995 +0000
@@ -259,3 +259,16 @@
 
 #endif /* not THIS_IS_YMAKEFILE */
 #endif /* not NOT_C_CODE */
+
+#define PTY_ITERATION		for (i = 0; i < 1; i++) /* ick */
+#define PTY_NAME_SPRINTF	/* none */
+#define PTY_TTY_NAME_SPRINTF	/* none */
+#define PTY_OPEN					\
+  do							\
+    {							\
+      int dummy;					\
+      if (-1 == openpty (&fd, &dummy, pty_name, 0, 0))	\
+	fd = -1;					\
+      close (dummy);					\
+    }							\
+  while (0)