ttycom.h (180560) | ttycom.h (181905) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1990, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 18 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)ttycom.h 8.1 (Berkeley) 3/28/94 | 1/*- 2 * Copyright (c) 1982, 1986, 1990, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 18 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)ttycom.h 8.1 (Berkeley) 3/28/94 |
35 * $FreeBSD: head/sys/sys/ttycom.h 180560 2008-07-16 11:23:15Z ed $ | 35 * $FreeBSD: head/sys/sys/ttycom.h 181905 2008-08-20 08:31:58Z ed $ |
36 */ 37 38#ifndef _SYS_TTYCOM_H_ 39#define _SYS_TTYCOM_H_ 40 41#include <sys/ioccom.h> 42 43/* --- 24 unchanged lines hidden (view full) --- 68 /* 17-18 compat */ 69#define TIOCGETA _IOR('t', 19, struct termios) /* get termios struct */ 70#define TIOCSETA _IOW('t', 20, struct termios) /* set termios struct */ 71#define TIOCSETAW _IOW('t', 21, struct termios) /* drain output, set */ 72#define TIOCSETAF _IOW('t', 22, struct termios) /* drn out, fls in, set */ 73 /* 23-25 obsolete or unused */ 74#define TIOCGETD _IOR('t', 26, int) /* get line discipline */ 75#define TIOCSETD _IOW('t', 27, int) /* set line discipline */ | 36 */ 37 38#ifndef _SYS_TTYCOM_H_ 39#define _SYS_TTYCOM_H_ 40 41#include <sys/ioccom.h> 42 43/* --- 24 unchanged lines hidden (view full) --- 68 /* 17-18 compat */ 69#define TIOCGETA _IOR('t', 19, struct termios) /* get termios struct */ 70#define TIOCSETA _IOW('t', 20, struct termios) /* set termios struct */ 71#define TIOCSETAW _IOW('t', 21, struct termios) /* drain output, set */ 72#define TIOCSETAF _IOW('t', 22, struct termios) /* drn out, fls in, set */ 73 /* 23-25 obsolete or unused */ 74#define TIOCGETD _IOR('t', 26, int) /* get line discipline */ 75#define TIOCSETD _IOW('t', 27, int) /* set line discipline */ |
76 /* 28-69 free */ | 76#define TIOCPTMASTER _IO('t', 28) /* pts master validation */ 77 /* 29-69 free */ |
77 /* 80-84 slip */ 78#define TIOCGDRAINWAIT _IOR('t', 86, int) /* get ttywait timeout */ 79#define TIOCSDRAINWAIT _IOW('t', 87, int) /* set ttywait timeout */ 80 /* 88 slip, ppp; conflicts */ 81#define TIOCTIMESTAMP _IOR('t', 89, struct timeval) /* enable/get timestamp 82 * of last input event */ 83 /* 70-90 ppp; many conflicts */ 84#define TIOCMGDTRWAIT _IOR('t', 90, int) /* modem: get wait on close */ --- 61 unchanged lines hidden --- | 78 /* 80-84 slip */ 79#define TIOCGDRAINWAIT _IOR('t', 86, int) /* get ttywait timeout */ 80#define TIOCSDRAINWAIT _IOW('t', 87, int) /* set ttywait timeout */ 81 /* 88 slip, ppp; conflicts */ 82#define TIOCTIMESTAMP _IOR('t', 89, struct timeval) /* enable/get timestamp 83 * of last input event */ 84 /* 70-90 ppp; many conflicts */ 85#define TIOCMGDTRWAIT _IOR('t', 90, int) /* modem: get wait on close */ --- 61 unchanged lines hidden --- |