Commit 7a8b824c authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN)

(PTY_TTY_NAME_SPRINTF): New definitions.
parent 8a822d6a
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment