/* Test of pty.h and openpty function.
- Copyright (C) 2009-2012 Free Software Foundation, Inc.
+ Copyright (C) 2009-2014 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
}
/* Set the terminal characteristics.
- On Linux or MacOS X, they can be set on either the master or the slave;
+ On Linux or Mac OS X, they can be set on either the master or the slave;
the effect is the same. But on Solaris, they have to be set on the
master; tcgetattr on the slave fails. */
{
}
/* Close the master side before the slave side gets closed.
- This is necessary on MacOS X 10.4.11. */
+ This is necessary on Mac OS X 10.4.11. */
close (master);
}