--- Net2/sys/termios.h 2018/04/24 18:03:58 1.1.1.1 +++ Net2/sys/termios.h 2018/04/24 18:16:17 1.1.1.2 @@ -30,14 +30,16 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)termios.h 7.22 (Berkeley) 5/7/91 + * from: @(#)termios.h 7.22 (Berkeley) 5/7/91 + * termios.h,v 1.5 1993/06/05 22:40:40 cgd Exp */ +#ifndef _SYS_TERMIOS_H_ +#define _SYS_TERMIOS_H_ + /* * termios structure */ -#ifndef _TERMIOS_H_ -#define _TERMIOS_H_ /* * Special Control Characters @@ -77,8 +79,8 @@ #ifndef _POSIX_SOURCE #define VSTATUS 18 /* ICANON */ /* 19 spare 2 */ -#define NCCS 20 #endif +#define NCCS 20 #define _POSIX_VDISABLE ((unsigned char)'\377') @@ -221,6 +223,8 @@ struct termios { #define EXTA 19200 #define EXTB 38400 #endif /*_POSIX_SOURCE */ +#define B57600 57600 +#define B115200 115200 #ifndef KERNEL @@ -254,10 +258,7 @@ __END_DECLS #endif /* !KERNEL */ -/* - * END OF PROTECTED INCLUDE. - */ -#endif /* !_TERMIOS_H_ */ +#endif /* !_SYS_TERMIOS_H_ */ #ifndef _POSIX_SOURCE #ifdef KERNEL