/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
/* All Rights Reserved */
/*
* University Copyright- Copyright (c) 1982, 1986, 1988
* The Regents of the University of California
* All Rights Reserved
*
* University Acknowledgment- Portions of this document are derived from
* software developed by the University of California, Berkeley, and its
* contributors.
*/
#ifndef _SYS_TTOLD_H
#define _SYS_TTOLD_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/* All the ioctls (BSD, V7, XENIX, S5) defines are in termios.h */
/* this file has mostly BSD structures and flags */
struct tchars {
};
/* note xenix defines tchars as tc */
struct tc {
};
#ifndef _SGTTY_H
/*
* Structure for TIOCGETP and TIOCSETP ioctls.
*/
/* match sgtty.h definition */
struct sgttyb {
};
struct ltchars {
};
#endif /* _SGTTY_H */
/*
* 1) deprecated
* 2) not implemented (and never were implemented)
* 3) implemented on top of new-style "ioctl"s.
*/
/*
* These ioctls are also defined in termios.h.
* because XENIX expects to see them in termio.h
*/
#ifndef tIOC
#endif
#ifndef _SYS_TERMIOS_H
/* defined in termios.h also so that all the ioctl codes are visible */
#ifndef _SGTTY_H
#endif /* _SGTTY_H */
#ifndef _SGTTY_H
#endif /* _SGTTY_H */
/* BSD ioctls that are not the same as XENIX */
/* windowing ioctls and structure also defined in termios.h */
#ifndef _TIOC
#endif
/* Windowing structure to support TIOCSWINSZ/TIOCGWINSZ */
struct winsize {
};
#endif /* end _SYS_TERMIOS_H */
/* Old SVR3.0 flags - should be removed if there is no problem */
/* note they are commented out */
#if 0
#define O_HUPCL 01
#define O_XTABS 02
#define O_NL1 000400
#define O_NL2 001000
#define O_NOAL 004000
#define O_CR1 010000
#define O_CR2 020000
#endif
/*
* 4.3 BSD additions. These are new codes and some of the
* flags that were there in SVR3.2 ttold.h have been given
* new codes. Otherwise they will not fit in a word.
*/
#define O_ALLDELAY \
/* carrier intr */
/* output */
/* more BSD flags */
/* with 7 bits + parity) */
/* characters */
#ifdef __cplusplus
}
#endif
#endif /* _SYS_TTOLD_H */