Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
termios.h
Go to the documentation of this file.
1 /*
2  * S390 version
3  *
4  * Derived from "include/asm-i386/termios.h"
5  */
6 #ifndef _S390_TERMIOS_H
7 #define _S390_TERMIOS_H
8 
9 #include <uapi/asm/termios.h>
10 
11 
12 /* intr=^C quit=^\ erase=del kill=^U
13  eof=^D vtime=\0 vmin=\1 sxtc=\0
14  start=^Q stop=^S susp=^Z eol=\0
15  reprint=^R discard=^U werase=^W lnext=^V
16  eol2=\0
17 */
18 #define INIT_C_CC "\003\034\177\025\004\0\1\0\021\023\032\0\022\017\027\026\0"
19 
20 #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2))
21 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2))
22 
24 
25 #endif /* _S390_TERMIOS_H */