fifo_vnops.c (103936) | fifo_vnops.c (104094) |
---|---|
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 * $FreeBSD: head/sys/fs/fifofs/fifo_vnops.c 103936 2002-09-25 02:32:42Z jeff $ | 34 * $FreeBSD: head/sys/fs/fifofs/fifo_vnops.c 104094 2002-09-28 17:15:38Z phk $ |
35 */ 36 37#include <sys/param.h> 38#include <sys/event.h> 39#include <sys/filio.h> 40#include <sys/fcntl.h> 41#include <sys/file.h> 42#include <sys/kernel.h> --- 523 unchanged lines hidden (view full) --- 566 fifo_printinfo(ap->a_vp); 567 printf("\n"); 568 return (0); 569} 570 571/* 572 * Return POSIX pathconf information applicable to fifo's. 573 */ | 35 */ 36 37#include <sys/param.h> 38#include <sys/event.h> 39#include <sys/filio.h> 40#include <sys/fcntl.h> 41#include <sys/file.h> 42#include <sys/kernel.h> --- 523 unchanged lines hidden (view full) --- 566 fifo_printinfo(ap->a_vp); 567 printf("\n"); 568 return (0); 569} 570 571/* 572 * Return POSIX pathconf information applicable to fifo's. 573 */ |
574int | 574static int |
575fifo_pathconf(ap) 576 struct vop_pathconf_args /* { 577 struct vnode *a_vp; 578 int a_name; 579 int *a_retval; 580 } */ *ap; 581{ 582 --- 33 unchanged lines hidden --- | 575fifo_pathconf(ap) 576 struct vop_pathconf_args /* { 577 struct vnode *a_vp; 578 int a_name; 579 int *a_retval; 580 } */ *ap; 581{ 582 --- 33 unchanged lines hidden --- |