Print this page
14249 pseudo-terminal nomenclature should reflect POSIX
Change-Id: Ib4a3cef899ff4c71b09cb0dc6878863c5e8357bc
*** 21,34 ****
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
! #ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.3 */
-
-
/* If running SVR3, #define both ATTSVR3 and ATTSV */
#define ATTSVR3 /* System V Release 3 */
/* One of the following four lines should not be commented out.
* The other three should be unless you are running a unique hybrid.
--- 21,33 ----
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
! #ifndef _PARMS_H
! #define _PARMS_H
/* If running SVR3, #define both ATTSVR3 and ATTSV */
#define ATTSVR3 /* System V Release 3 */
/* One of the following four lines should not be commented out.
* The other three should be unless you are running a unique hybrid.
*** 153,164 ****
/* define DEFAULT_BAUDRATE to be the baud rate you want to use when both */
/* Systems file and Devices file allow Any */
#define DEFAULT_BAUDRATE "9600" /* */
/*define permission modes for the device */
! #define M_DEVICEMODE (mode_t) 0600 /* MASTER device mode */
! #define S_DEVICEMODE (mode_t) 0600 /* SLAVE device mode */
#define R_DEVICEMODE (mode_t) 0600 /* default mode to restore */
/* NO_MODEM_CTRL - define this if you have very old hardware
* that does not know how to correctly handle modem control
* Some old pdp/11 hardware such as dk, dl
--- 152,163 ----
/* define DEFAULT_BAUDRATE to be the baud rate you want to use when both */
/* Systems file and Devices file allow Any */
#define DEFAULT_BAUDRATE "9600" /* */
/*define permission modes for the device */
! #define M_DEVICEMODE (mode_t) 0600 /* manager device mode */
! #define S_DEVICEMODE (mode_t) 0600 /* subsidiary device mode */
#define R_DEVICEMODE (mode_t) 0600 /* default mode to restore */
/* NO_MODEM_CTRL - define this if you have very old hardware
* that does not know how to correctly handle modem control
* Some old pdp/11 hardware such as dk, dl
*** 239,243 ****
--- 238,244 ----
/* define PKSPEEDUP if you want to try the recommended speedup in pkcget.
* this entails sleeping between reads at low baud rates.
*/
#define PKSPEEDUP /* */
+
+ #endif /* !_PARMS_H */