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/compat/irix/irix_fcntl.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*      $NetBSD: irix_fcntl.h,v 1.3 2008/04/28 20:23:41 martin Exp $ */
    2 
    3 /*-
    4  * Copyright (c) 2002 The NetBSD Foundation, Inc.
    5  * All rights reserved.
    6  *
    7  * This code is derived from software contributed to The NetBSD Foundation
    8  * by Emmanuel Dreyfus
    9  *
   10  * Redistribution and use in source and binary forms, with or without
   11  * modification, are permitted provided that the following conditions
   12  * are met:
   13  * 1. Redistributions of source code must retain the above copyright
   14  *    notice, this list of conditions and the following disclaimer.
   15  * 2. Redistributions in binary form must reproduce the above copyright
   16  *    notice, this list of conditions and the following disclaimer in the
   17  *    documentation and/or other materials provided with the distribution.
   18  *
   19  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
   20  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
   21  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
   22  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
   23  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   24  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
   25  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
   26  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
   27  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   28  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
   29  * POSSIBILITY OF SUCH DAMAGE.
   30  */
   31 
   32 #ifndef _IRIX_FCNTL_H_
   33 #define _IRIX_FCNTL_H_
   34 
   35 #include <compat/svr4/svr4_fcntl.h>
   36 
   37 /* From IRIX's <sys/fcntl.h> */
   38 #define IRIX_F_DUPFD            SVR4_F_DUPFD
   39 #define IRIX_F_GETFD            SVR4_F_GETFD
   40 #define IRIX_F_SETFD            SVR4_F_SETFD
   41 #define IRIX_F_GETFL            SVR4_F_GETFL
   42 #define IRIX_F_SETFL            SVR4_F_SETFL
   43 #define IRIX_F_SETLK            SVR4_F_SETLK
   44 #define IRIX_F_SETLKW           SVR4_F_SETLKW
   45 #define IRIX_F_CHKFL            SVR4_F_CHKFL
   46 #define IRIX_F_ALLOCSP          SVR4_F_ALLOCSP
   47 #define IRIX_F_FREESP           SVR4_F_FREESP
   48 #define IRIX_F_SETBSDLK         12
   49 #define IRIX_F_SETBSDLKW        13
   50 #define IRIX_F_GETLK            SVR4_F_GETLK
   51 #define IRIX_F_CHKLK            15
   52 #define IRIX_F_CHKLKW           16
   53 #define IRIX_F_CLNLK            17
   54 #define IRIX_F_RSETLK           SVR4_F_RSETLK
   55 #define IRIX_F_RGETLK           SVR4_F_RGETLK
   56 #define IRIX_F_RSETLKW          SVR4_F_RSETLKW
   57 #define IRIX_F_GETOWN           SVR4_F_GETOWN
   58 #define IRIX_F_SETOWN           SVR4_F_SETOWN
   59 #define IRIX_F_DIOINFO          30
   60 #define IRIX_F_FSGETXATTR       31
   61 #define IRIX_F_FSSETXATTR       32
   62 #define IRIX_F_GETLK64          SVR4_F_GETLK64
   63 #define IRIX_F_SETLK64          SVR4_F_SETLK64
   64 #define IRIX_F_SETLKW64         SVR4_F_SETLKW64
   65 #define IRIX_F_ALLOCSP64        36
   66 #define IRIX_F_FREESP64         SVR4_F_FREESP64
   67 #define IRIX_F_GETBMAP          38
   68 #define IRIX_F_FSSETDM          39
   69 #define IRIX_F_RESVSP           40
   70 #define IRIX_F_UNRESVSP         41
   71 #define IRIX_F_RESVSP64         42
   72 #define IRIX_F_UNRESVSP64       43
   73 #define IRIX_F_GETBMAPA         44
   74 #define IRIX_F_FSGETXATTRA      45
   75 #define IRIX_F_SETBIOSIZE       46
   76 #define IRIX_F_GETBIOSIZE       47
   77 #define IRIX_F_GETOPS           50
   78 #define IRIX_F_DMAPI            51
   79 #define IRIX_F_FSYNC            52
   80 #define IRIX_F_FSYNC64          53
   81 #define IRIX_F_GETBDSATTR       54
   82 #define IRIX_F_SETBDSATTR       55
   83 #define IRIX_F_GETBMAPX         56
   84 #define IRIX_F_SETPRIO          57
   85 #define IRIX_F_GETPRIO          58
   86 
   87 /* fcntl F_GETFL flags */
   88 #define IRIX_FNDELAY            0x000004
   89 #define IRIX_FAPPEND            0x000008
   90 #define IRIX_FSYNC              0x000010
   91 #define IRIX_FDSYNC             0x000020
   92 #define IRIX_FRSYNC             0x000040
   93 #define IRIX_FNONBLOCK          0x000080
   94 #define IRIX_FASYNC             0x001000
   95 #define IRIX_FLARGEFILE         0x002000
   96 #define IRIX_FDIRECT            0x008000
   97 #define IRIX_FBULK              0x010000
   98 #define IRIX_FLCINVAL           0x020000
   99 #define IRIX_FLCFLUSH           0x040000
  100 
  101 #endif /* _IRIX_FCNTL_H_ */

Cache object: 581fa47e72a7d76bb50ff25b2bce3569


[ 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.