Deleted Added
full compact
ioctl.h (154170) ioctl.h (179784)
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 * @(#)ioctl.h 8.6 (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 * @(#)ioctl.h 8.6 (Berkeley) 3/28/94
35 * $FreeBSD: head/sys/sys/ioctl.h 154170 2006-01-10 09:19:10Z phk $
35 * $FreeBSD: head/sys/sys/ioctl.h 179784 2008-06-14 10:42:18Z ed $
36 */
37
38#ifndef _SYS_IOCTL_H_
39#define _SYS_IOCTL_H_
40
41#ifdef _KERNEL
42#ifndef _SYS_CDEFS_H_
43#error this file needs sys/cdefs.h as a prerequisite

--- 20 unchanged lines hidden (view full) ---

64#define TIOCSSIZE TIOCSWINSZ
65
66#include <sys/ioccom.h>
67
68#include <sys/filio.h>
69#include <sys/sockio.h>
70
71#endif /* !_SYS_IOCTL_H_ */
36 */
37
38#ifndef _SYS_IOCTL_H_
39#define _SYS_IOCTL_H_
40
41#ifdef _KERNEL
42#ifndef _SYS_CDEFS_H_
43#error this file needs sys/cdefs.h as a prerequisite

--- 20 unchanged lines hidden (view full) ---

64#define TIOCSSIZE TIOCSWINSZ
65
66#include <sys/ioccom.h>
67
68#include <sys/filio.h>
69#include <sys/sockio.h>
70
71#endif /* !_SYS_IOCTL_H_ */
72
73/*
74 * Keep outside _SYS_IOCTL_H_
75 * Compatibility with old terminal driver
76 *
77 * Source level -> #define USE_OLD_TTY
78 * Kernel level -> options COMPAT_43TTY
79 */
80#if defined(USE_OLD_TTY) || defined(COMPAT_43TTY)
81#include <sys/ioctl_compat.h>
82#endif