ibcs2_stat.c (91393) | ibcs2_stat.c (92761) |
---|---|
1/* 2 * Copyright (c) 1995 Scott Bartram 3 * Copyright (c) 1995 Steven Wallace 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * | 1/* 2 * Copyright (c) 1995 Scott Bartram 3 * Copyright (c) 1995 Steven Wallace 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * |
28 * $FreeBSD: head/sys/i386/ibcs2/ibcs2_stat.c 91393 2002-02-27 16:55:30Z robert $ | 28 * $FreeBSD: head/sys/i386/ibcs2/ibcs2_stat.c 92761 2002-03-20 05:48:58Z alfred $ |
29 */ 30 31#include <sys/param.h> 32#include <sys/systm.h> 33#include <sys/namei.h> 34#include <sys/file.h> 35#include <sys/stat.h> 36#include <sys/filedesc.h> --- 7 unchanged lines hidden (view full) --- 44#include <i386/ibcs2/ibcs2_signal.h> 45#include <i386/ibcs2/ibcs2_stat.h> 46#include <i386/ibcs2/ibcs2_statfs.h> 47#include <i386/ibcs2/ibcs2_proto.h> 48#include <i386/ibcs2/ibcs2_util.h> 49#include <i386/ibcs2/ibcs2_utsname.h> 50 51 | 29 */ 30 31#include <sys/param.h> 32#include <sys/systm.h> 33#include <sys/namei.h> 34#include <sys/file.h> 35#include <sys/stat.h> 36#include <sys/filedesc.h> --- 7 unchanged lines hidden (view full) --- 44#include <i386/ibcs2/ibcs2_signal.h> 45#include <i386/ibcs2/ibcs2_stat.h> 46#include <i386/ibcs2/ibcs2_statfs.h> 47#include <i386/ibcs2/ibcs2_proto.h> 48#include <i386/ibcs2/ibcs2_util.h> 49#include <i386/ibcs2/ibcs2_utsname.h> 50 51 |
52static void bsd_stat2ibcs_stat __P((struct stat *, struct ibcs2_stat *)); 53static int cvt_statfs __P((struct statfs *, caddr_t, int)); | 52static void bsd_stat2ibcs_stat(struct stat *, struct ibcs2_stat *); 53static int cvt_statfs(struct statfs *, caddr_t, int); |
54 55static void 56bsd_stat2ibcs_stat(st, st4) 57 struct stat *st; 58 struct ibcs2_stat *st4; 59{ 60 bzero(st4, sizeof(*st4)); 61 st4->st_dev = (ibcs2_dev_t)st->st_dev; --- 199 unchanged lines hidden --- | 54 55static void 56bsd_stat2ibcs_stat(st, st4) 57 struct stat *st; 58 struct ibcs2_stat *st4; 59{ 60 bzero(st4, sizeof(*st4)); 61 st4->st_dev = (ibcs2_dev_t)st->st_dev; --- 199 unchanged lines hidden --- |