fifo_vnops.c (29362) | fifo_vnops.c (30354) |
---|---|
1/* 2 * Copyright (c) 1990, 1993, 1995 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)fifo_vnops.c 8.10 (Berkeley) 5/27/95 | 1/* 2 * Copyright (c) 1990, 1993, 1995 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)fifo_vnops.c 8.10 (Berkeley) 5/27/95 |
34 * $Id: fifo_vnops.c,v 1.26 1997/09/02 20:06:11 bde Exp $ | 34 * $Id: fifo_vnops.c,v 1.27 1997/09/14 02:57:53 peter Exp $ |
35 */ 36 37#include <sys/param.h> 38#include <sys/systm.h> 39#include <sys/unistd.h> 40#include <sys/kernel.h> | 35 */ 36 37#include <sys/param.h> 38#include <sys/systm.h> 39#include <sys/unistd.h> 40#include <sys/kernel.h> |
41#include <sys/malloc.h> |
|
41#include <sys/vnode.h> 42#include <sys/socket.h> 43#include <sys/socketvar.h> 44#include <sys/filio.h> 45#include <sys/fcntl.h> 46#include <sys/file.h> | 42#include <sys/vnode.h> 43#include <sys/socket.h> 44#include <sys/socketvar.h> 45#include <sys/filio.h> 46#include <sys/fcntl.h> 47#include <sys/file.h> |
47#include <sys/malloc.h> | |
48#include <sys/poll.h> 49#include <sys/un.h> 50#include <miscfs/fifofs/fifo.h> 51 52/* 53 * This structure is associated with the FIFO vnode and stores 54 * the state associated with the FIFO. 55 */ --- 489 unchanged lines hidden --- | 48#include <sys/poll.h> 49#include <sys/un.h> 50#include <miscfs/fifofs/fifo.h> 51 52/* 53 * This structure is associated with the FIFO vnode and stores 54 * the state associated with the FIFO. 55 */ --- 489 unchanged lines hidden --- |