]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/ttycom.h
xnu-792.24.17.tar.gz
[apple/xnu.git] / bsd / sys / ttycom.h
index d2a3ef597834ae6632b38c947315fa6861ac3036..b7c4d8b3cc29e91fc7634344bdfb847258caed8a 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
@@ -104,6 +104,12 @@ struct winsize {
 #define        TIOCSETA        _IOW('t', 20, struct termios) /* set termios struct */
 #define        TIOCSETAW       _IOW('t', 21, struct termios) /* drain output, set */
 #define        TIOCSETAF       _IOW('t', 22, struct termios) /* drn out, fls in, set */
 #define        TIOCSETA        _IOW('t', 20, struct termios) /* set termios struct */
 #define        TIOCSETAW       _IOW('t', 21, struct termios) /* drain output, set */
 #define        TIOCSETAF       _IOW('t', 22, struct termios) /* drn out, fls in, set */
+#ifdef KERNEL
+#define        TIOCGETA_64     _IOR('t', 19, struct user_termios)
+#define        TIOCSETA_64     _IOW('t', 20, struct user_termios)
+#define        TIOCSETAW_64    _IOW('t', 21, struct user_termios)
+#define        TIOCSETAF_64    _IOW('t', 22, struct user_termios)
+#endif /* KERNEL */
 #define        TIOCGETD        _IOR('t', 26, int)      /* get line discipline */
 #define        TIOCSETD        _IOW('t', 27, int)      /* set line discipline */
                                                /* 127-124 compat */
 #define        TIOCGETD        _IOR('t', 26, int)      /* get line discipline */
 #define        TIOCSETD        _IOW('t', 27, int)      /* set line discipline */
                                                /* 127-124 compat */