4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 1999-2002 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
28 * Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
36 #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.3 */
52 /* Path to the locale-specific ldterm.dat file. */
54 #define _LDTERM_DAT_PATH "/usr/lib/locale/%s/LC_CTYPE/ldterm.dat"
57 #define MAX_CC NCCS-1 /* max number of ctrl char fields printed by stty -g */
58 #define NUM_MODES 4 /* number of modes printed by stty -g */
59 #define NUM_FIELDS NUM_MODES+MAX_CC /* num modes + ctrl char fields (stty -g) */
62 const char *string
; /* Speed in string form, e.g. "9600" */
63 int code
; /* speed_t code for speed, e.g. B9600 */
64 int value
; /* Integer value of speed, e.g. 9600 */
73 extern const struct speeds speeds
[];
74 extern const struct mds lmodes
[];
75 extern const struct mds nlmodes
[];
76 extern const struct mds cmodes
[];
77 extern const struct mds ncmodes
[];
78 extern const struct mds imodes
[];
79 extern const struct mds nimodes
[];
80 extern const struct mds omodes
[];
81 extern const struct mds hmodes
[];
82 extern const struct mds clkmodes
[];