Mercurial > hg > xemacs-beta
comparison src/s/aix3-1.h @ 442:abe6d1db359e r21-2-36
Import from CVS: tag r21-2-36
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:35:02 +0200 |
parents | 3ecd8885ac67 |
children | c69610198c35 |
comparison
equal
deleted
inserted
replaced
441:72a7cfa4a488 | 442:abe6d1db359e |
---|---|
57 | 57 |
58 #define SYSTEM_TYPE "aix" | 58 #define SYSTEM_TYPE "aix" |
59 | 59 |
60 /* In AIX, you allocate a pty by opening /dev/ptc to get the master side. | 60 /* In AIX, you allocate a pty by opening /dev/ptc to get the master side. |
61 To get the name of the slave side, you just ttyname() the master side. */ | 61 To get the name of the slave side, you just ttyname() the master side. */ |
62 | |
63 #define PTY_ITERATION for (c = 0; !c ; c++) | |
64 #define PTY_NAME_SPRINTF strcpy (pty_name, "/dev/ptc"); | |
65 #define PTY_TTY_NAME_SPRINTF strcpy (pty_name, ttyname (fd)); | |
66 | |
67 /* XEmacs change: #### is this crap necessary? */ | |
68 #ifndef NOT_C_CODE | |
69 #include <termios.h> | |
70 #endif | |
71 | 62 |
72 /* | 63 /* |
73 * Define HAVE_PTYS if the system supports pty devices. | 64 * Define HAVE_PTYS if the system supports pty devices. |
74 */ | 65 */ |
75 | 66 |