The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/svr4/svr4_stat.h

Version: -  FREEBSD  -  FREEBSD11  -  FREEBSD10  -  FREEBSD9  -  FREEBSD92  -  FREEBSD91  -  FREEBSD90  -  FREEBSD8  -  FREEBSD82  -  FREEBSD81  -  FREEBSD80  -  FREEBSD7  -  FREEBSD74  -  FREEBSD73  -  FREEBSD72  -  FREEBSD71  -  FREEBSD70  -  FREEBSD6  -  FREEBSD64  -  FREEBSD63  -  FREEBSD62  -  FREEBSD61  -  FREEBSD60  -  FREEBSD5  -  FREEBSD55  -  FREEBSD54  -  FREEBSD53  -  FREEBSD52  -  FREEBSD51  -  FREEBSD50  -  FREEBSD4  -  FREEBSD3  -  FREEBSD22  -  linux-2.6  -  linux-2.4.22  -  MK83  -  MK84  -  PLAN9  -  DFBSD  -  NETBSD  -  NETBSD5  -  NETBSD4  -  NETBSD3  -  NETBSD20  -  OPENBSD  -  xnu-517  -  xnu-792  -  xnu-792.6.70  -  xnu-1228  -  xnu-1456.1.26  -  xnu-1699.24.8  -  xnu-2050.18.24  -  OPENSOLARIS  -  minix-3-1-1 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * Copyright (c) 1998 Mark Newton
    3  * Copyright (c) 1994 Christos Zoulas
    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:
    9  * 1. Redistributions of source code must retain the above copyright
   10  *    notice, this list of conditions and the following disclaimer.
   11  * 2. Redistributions in binary form must reproduce the above copyright
   12  *    notice, this list of conditions and the following disclaimer in the
   13  *    documentation and/or other materials provided with the distribution.
   14  * 3. The name of the author may not be used to endorse or promote products
   15  *    derived from this software without specific prior written permission
   16  *
   17  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
   18  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   19  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
   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: src/sys/svr4/svr4_stat.h,v 1.3 1999/08/28 00:51:23 peter Exp $
   29  */
   30 
   31 #ifndef _SVR4_STAT_H_
   32 #define _SVR4_STAT_H_
   33 
   34 #include <svr4/svr4_types.h>
   35 #include <sys/stat.h>
   36 
   37 struct svr4_stat {
   38         svr4_o_dev_t    st_dev;
   39         svr4_o_ino_t    st_ino;
   40         svr4_o_mode_t   st_mode;
   41         svr4_o_nlink_t  st_nlink;
   42         svr4_o_uid_t    st_uid;
   43         svr4_o_gid_t    st_gid;
   44         svr4_o_dev_t    st_rdev;
   45         svr4_off_t      st_size;
   46         svr4_time_t     st_atim;
   47         svr4_time_t     st_mtim;
   48         svr4_time_t     st_ctim;
   49 };
   50 
   51 struct svr4_xstat {
   52         svr4_dev_t              st_dev;
   53         long                    st_pad1[3];
   54         svr4_ino_t              st_ino;
   55         svr4_mode_t             st_mode;
   56         svr4_nlink_t            st_nlink;
   57         svr4_uid_t              st_uid;
   58         svr4_gid_t              st_gid;
   59         svr4_dev_t              st_rdev;
   60         long                    st_pad2[2];
   61         svr4_off_t              st_size;
   62         long                    st_pad3;
   63         svr4_timestruc_t        st_atim;
   64         svr4_timestruc_t        st_mtim;
   65         svr4_timestruc_t        st_ctim;
   66         long                    st_blksize;
   67         svr4_blkcnt_t           st_blocks;
   68         char                    st_fstype[16];
   69         long                    st_pad4[8];
   70 };
   71 
   72 struct svr4_stat64 {
   73         svr4_dev_t              st_dev;
   74         long                    st_pad1[3];
   75         svr4_ino64_t            st_ino;
   76         svr4_mode_t             st_mode;
   77         svr4_nlink_t            st_nlink;
   78         svr4_uid_t              st_uid;
   79         svr4_gid_t              st_gid;
   80         svr4_dev_t              st_rdev;
   81         long                    st_pad2[2];
   82         svr4_off64_t            st_size;
   83         svr4_timestruc_t        st_atim;
   84         svr4_timestruc_t        st_mtim;
   85         svr4_timestruc_t        st_ctim;
   86         long                    st_blksize;
   87         svr4_blkcnt64_t         st_blocks;
   88         char                    st_fstype[16];
   89         long                    st_pad4[8];
   90 };
   91 
   92 #define SVR4_PC_LINK_MAX                1
   93 #define SVR4_PC_MAX_CANON               2
   94 #define SVR4_PC_MAX_INPUT               3
   95 #define SVR4_PC_NAME_MAX                4
   96 #define SVR4_PC_PATH_MAX                5
   97 #define SVR4_PC_PIPE_BUF                6
   98 #define SVR4_PC_NO_TRUNC                7
   99 #define SVR4_PC_VDISABLE                8
  100 #define SVR4_PC_CHOWN_RESTRICTED        9
  101 #define SVR4_PC_ASYNC_IO                10
  102 #define SVR4_PC_PRIO_IO                 11
  103 #define SVR4_PC_SYNC_IO                 12
  104 
  105 #endif /* !_SVR4_STAT_H_ */

Cache object: ceb9b1b6c2de774fb8a6f7293a90160a


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.