2 ms·
Well, the use of "master"/"slave" in the PTY layer is technically inaccurate - they are two ends of a connection to a single object, over which the "master" and
by geofft 6y ago
Well, the use of "master"/"slave" in the PTY layer is technically inaccurate - they are two ends of a connection to a single object, over which the "master" and "slave" both have control - and there are certain operations that the "slave" can do that the "master" can't. The whole system would be less confusing if these entities had clearer names, and there's also no binary interface that uses the terms.