patch-2.1.87 linux/include/asm-sparc/ioctls.h

Next file: linux/include/asm-sparc64/ioctls.h
Previous file: linux/include/asm-ppc/ioctls.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.86/linux/include/asm-sparc/ioctls.h linux/include/asm-sparc/ioctls.h
@@ -75,6 +75,9 @@
 #define TIOCGPGRP	_IOR('t', 131, int)
 #define TIOCSCTTY	_IO('t', 132)
 #define TIOCGSID	_IOR('t', 133, int)
+/* Get minor device of a pty master's FD -- Solaris equiv is ISPTM */
+#define TIOCGPTN	_IOR('t', 134, unsigned int) /* Get Pty Number */
+#define TIOCSPTLCK	_IOW('t', 135, int) /* Lock/unlock PTY */
 
 /* Little f */
 #define FIOCLEX		_IO('f', 1)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov