Mercurial > emacs
comparison src/m/symmetry.h @ 3096:559b392f9526
(PTY_TTY_NAME_SPRINTF, PTY_NAME_SPRINTF): Use pty_name, not ptyname.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 25 May 1993 20:48:15 +0000 |
parents | e442bb589751 |
children | 7be0f0a02725 |
comparison
equal
deleted
inserted
replaced
3095:ef7d99920f81 | 3096:559b392f9526 |
---|---|
96 #define PTY_ITERATION \ | 96 #define PTY_ITERATION \ |
97 register int ma, mi; \ | 97 register int ma, mi; \ |
98 for (ma = 0; ma < sizeof(PTY_MAJOR) - 1; ma++) \ | 98 for (ma = 0; ma < sizeof(PTY_MAJOR) - 1; ma++) \ |
99 for (mi = 0; mi < sizeof(PTY_MINOR) - 1; mi++) | 99 for (mi = 0; mi < sizeof(PTY_MINOR) - 1; mi++) |
100 #define PTY_NAME_SPRINTF \ | 100 #define PTY_NAME_SPRINTF \ |
101 sprintf (ptyname, "/dev/pty%c%c", PTY_MAJOR[ma], PTY_MINOR[mi]); | 101 sprintf (pty_name, "/dev/pty%c%c", PTY_MAJOR[ma], PTY_MINOR[mi]); |
102 #define PTY_TTY_NAME_SPRINTF \ | 102 #define PTY_TTY_NAME_SPRINTF \ |
103 sprintf (ptyname, "/dev/tty%c%c", PTY_MAJOR[ma], PTY_MINOR[mi]); | 103 sprintf (pty_name, "/dev/tty%c%c", PTY_MAJOR[ma], PTY_MINOR[mi]); |