diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-06-30 21:04:38 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-06-30 21:04:38 +0000 |
commit | 361ff519bdc83ca5e21cf2731ef0c38e51197875 (patch) | |
tree | dfbfed75915de10f0493ce3569c75725541d3204 /src/m | |
parent | f8caa374c9df5b74c805922c384030f78d5fb431 (diff) | |
download | emacs-361ff519bdc83ca5e21cf2731ef0c38e51197875.tar.gz |
(PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN)
(PTY_TTY_NAME_SPRINTF): New definitions.
Diffstat (limited to 'src/m')
-rw-r--r-- | src/m/alpha.h | 13 |
1 files changed, 13 insertions, 0 deletions
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) |