improve error handling of ttyname_r and isatty
[musl] / arch / generic / bits / ioctl.h
index 44deb11..42a8f1a 100644 (file)
@@ -63,6 +63,7 @@
 #define TIOCGPKT       0x80045438
 #define TIOCGPTLCK     0x80045439
 #define TIOCGEXCL      0x80045440
+#define TIOCGPTPEER    0x5441
 
 #define FIONCLEX       0x5450
 #define FIOCLEX                0x5451