122 |
|
} |
123 |
|
|
124 |
|
/* |
125 |
< |
* Try to push the appropriate streams modules, as described |
125 |
> |
* Try to push the appropriate streams modules, as described |
126 |
|
* in Solaris pts(7). |
127 |
|
*/ |
128 |
|
ioctl(*aslave, I_PUSH, "ptem"); |
184 |
|
struct termios tio; |
185 |
|
|
186 |
|
for (i = 0; i < num_ptys; i++) { |
187 |
< |
snprintf(ptbuf, sizeof(ptbuf), "/dev/pty%c%c", |
187 |
> |
snprintf(ptbuf, sizeof(ptbuf), "/dev/pty%c%c", |
188 |
|
ptymajors[i / num_minors], ptyminors[i % num_minors]); |
189 |
|
snprintf(ttbuf, sizeof(ttbuf), "/dev/tty%c%c", |
190 |
|
ptymajors[i / num_minors], ptyminors[i % num_minors]); |