]>
Commit | Line | Data |
---|---|---|
0c1992fb | 1 | /** @file\r |
2 | \r | |
3 | Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r | |
4 | This program and the accompanying materials are licensed and made available under\r | |
5 | the terms and conditions of the BSD License that accompanies this distribution.\r | |
6 | The full text of the license may be found at\r | |
7 | http://opensource.org/licenses/bsd-license.\r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
2aa62f2b | 11 | \r |
2aa62f2b | 12 | * Copyright (c) 1982, 1986, 1990, 1993, 1994\r |
0c1992fb | 13 | * The Regents of the University of California. All rights reserved.\r |
2aa62f2b | 14 | * (c) UNIX System Laboratories, Inc.\r |
15 | * All or some portions of this file are derived from material licensed\r | |
16 | * to the University of California by American Telephone and Telegraph\r | |
17 | * Co. or Unix System Laboratories, Inc. and are reproduced herein with\r | |
18 | * the permission of UNIX System Laboratories, Inc.\r | |
19 | *\r | |
20 | * Redistribution and use in source and binary forms, with or without\r | |
21 | * modification, are permitted provided that the following conditions\r | |
22 | * are met:\r | |
23 | * 1. Redistributions of source code must retain the above copyright\r | |
24 | * notice, this list of conditions and the following disclaimer.\r | |
25 | * 2. Redistributions in binary form must reproduce the above copyright\r | |
26 | * notice, this list of conditions and the following disclaimer in the\r | |
27 | * documentation and/or other materials provided with the distribution.\r | |
28 | * 3. Neither the name of the University nor the names of its contributors\r | |
29 | * may be used to endorse or promote products derived from this software\r | |
30 | * without specific prior written permission.\r | |
31 | *\r | |
32 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND\r | |
33 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r | |
34 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r | |
35 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE\r | |
36 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r | |
37 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\r | |
38 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r | |
39 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\r | |
40 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\r | |
41 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\r | |
42 | * SUCH DAMAGE.\r | |
43 | *\r | |
0c1992fb | 44 | * @(#)filio.h 8.1 (Berkeley) 3/28/94\r |
45 | NetBSD: filio.h,v 1.10 2005/12/11 12:25:20 christos Exp\r | |
2aa62f2b | 46 | */\r |
47 | \r | |
0c1992fb | 48 | #ifndef _SYS_FILIO_H_\r |
49 | #define _SYS_FILIO_H_\r | |
2aa62f2b | 50 | \r |
51 | #include <sys/ioccom.h>\r | |
52 | \r | |
0c1992fb | 53 | typedef const struct timeval* ptimeval_t;\r |
54 | \r | |
55 | /* File-descriptor ioctl's. */\r | |
56 | \r | |
57 | #define FIODLEX _IO ('f', 1) /* set Delete-on-Close */\r | |
58 | #define FIONDLEX _IO ('f', 2) /* clear Delete-on-Close */\r | |
59 | #define FIOSETIME _IOW ('f', 127, ptimeval_t) /* Set access and modification times */\r | |
2aa62f2b | 60 | \r |
61 | #endif /* !_SYS_FILIO_H_ */\r |