From: Richard M. Stallman Date: Fri, 30 Jun 1995 21:04:38 +0000 (+0000) Subject: (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN) X-Git-Tag: emacs-19.34~3409 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7a8b824c1eb4cc59e10abe40749eaa8f50ca2b40;p=emacs.git (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN) (PTY_TTY_NAME_SPRINTF): New definitions. --- diff --git a/src/m/alpha.h b/src/m/alpha.h index 5ee92e43ad1..0d257b3c245 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h @@ -259,3 +259,16 @@ extern void r_alloc_free (); #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)