1 |
27 |
unneback |
//==========================================================================
|
2 |
|
|
//
|
3 |
|
|
// include/sys/ioctl.h
|
4 |
|
|
//
|
5 |
|
|
//==========================================================================
|
6 |
|
|
//####BSDCOPYRIGHTBEGIN####
|
7 |
|
|
//
|
8 |
|
|
// -------------------------------------------
|
9 |
|
|
//
|
10 |
|
|
// Portions of this software may have been derived from OpenBSD,
|
11 |
|
|
// FreeBSD or other sources, and are covered by the appropriate
|
12 |
|
|
// copyright disclaimers included herein.
|
13 |
|
|
//
|
14 |
|
|
// Portions created by Red Hat are
|
15 |
|
|
// Copyright (C) 2002 Red Hat, Inc. All Rights Reserved.
|
16 |
|
|
//
|
17 |
|
|
// -------------------------------------------
|
18 |
|
|
//
|
19 |
|
|
//####BSDCOPYRIGHTEND####
|
20 |
|
|
//==========================================================================
|
21 |
|
|
//#####DESCRIPTIONBEGIN####
|
22 |
|
|
//
|
23 |
|
|
// Author(s): gthomas
|
24 |
|
|
// Contributors: gthomas
|
25 |
|
|
// Date: 2000-01-10
|
26 |
|
|
// Purpose:
|
27 |
|
|
// Description:
|
28 |
|
|
//
|
29 |
|
|
//
|
30 |
|
|
//####DESCRIPTIONEND####
|
31 |
|
|
//
|
32 |
|
|
//==========================================================================
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
/* $OpenBSD: ioctl.h,v 1.3 1996/03/03 12:11:50 niklas Exp $ */
|
36 |
|
|
/* $NetBSD: ioctl.h,v 1.20 1996/01/30 18:21:47 thorpej Exp $ */
|
37 |
|
|
|
38 |
|
|
/*-
|
39 |
|
|
* Copyright (c) 1982, 1986, 1990, 1993, 1994
|
40 |
|
|
* The Regents of the University of California. All rights reserved.
|
41 |
|
|
* (c) UNIX System Laboratories, Inc.
|
42 |
|
|
* All or some portions of this file are derived from material licensed
|
43 |
|
|
* to the University of California by American Telephone and Telegraph
|
44 |
|
|
* Co. or Unix System Laboratories, Inc. and are reproduced herein with
|
45 |
|
|
* the permission of UNIX System Laboratories, Inc.
|
46 |
|
|
*
|
47 |
|
|
* Redistribution and use in source and binary forms, with or without
|
48 |
|
|
* modification, are permitted provided that the following conditions
|
49 |
|
|
* are met:
|
50 |
|
|
* 1. Redistributions of source code must retain the above copyright
|
51 |
|
|
* notice, this list of conditions and the following disclaimer.
|
52 |
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
53 |
|
|
* notice, this list of conditions and the following disclaimer in the
|
54 |
|
|
* documentation and/or other materials provided with the distribution.
|
55 |
|
|
* 3. All advertising materials mentioning features or use of this software
|
56 |
|
|
* must display the following acknowledgement:
|
57 |
|
|
* This product includes software developed by the University of
|
58 |
|
|
* California, Berkeley and its contributors.
|
59 |
|
|
* 4. Neither the name of the University nor the names of its contributors
|
60 |
|
|
* may be used to endorse or promote products derived from this software
|
61 |
|
|
* without specific prior written permission.
|
62 |
|
|
*
|
63 |
|
|
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
64 |
|
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
65 |
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
66 |
|
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
67 |
|
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
68 |
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
69 |
|
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
70 |
|
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
71 |
|
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
72 |
|
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
73 |
|
|
* SUCH DAMAGE.
|
74 |
|
|
*
|
75 |
|
|
* @(#)ioctl.h 8.6 (Berkeley) 3/28/94
|
76 |
|
|
*/
|
77 |
|
|
|
78 |
|
|
#ifndef _SYS_IOCTL_H_
|
79 |
|
|
#define _SYS_IOCTL_H_
|
80 |
|
|
|
81 |
|
|
#include <sys/ioccom.h>
|
82 |
|
|
#include <sys/sockio.h>
|
83 |
|
|
|
84 |
|
|
#ifndef _KERNEL
|
85 |
|
|
#include <sys/param.h>
|
86 |
|
|
|
87 |
|
|
__BEGIN_DECLS
|
88 |
|
|
int ioctl __P((int, unsigned long, ...));
|
89 |
|
|
__END_DECLS
|
90 |
|
|
#endif /* !_KERNEL */
|
91 |
|
|
#endif /* !_SYS_IOCTL_H_ */
|