1: /*-
   2:  * Copyright (c) 1993, 1994
   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
   9:  *    notice, this list of conditions and the following disclaimer.
  10:  * 2. Redistributions in binary form must reproduce the above copyright
  11:  *    notice, this list of conditions and the following disclaimer in the
  12:  *    documentation and/or other materials provided with the distribution.
  13:  * 3. All advertising materials mentioning features or use of this software
  14:  *    must display the following acknowledgement:
  15:  *	This product includes software developed by the University of
  16:  *	California, Berkeley and its contributors.
  17:  * 4. Neither the name of the University nor the names of its contributors
  18:  *    may be used to endorse or promote products derived from this software
  19:  *    without specific prior written permission.
  20:  *
  21:  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
  22:  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  23:  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  24:  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
  25:  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  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:  *	@(#)operators.h	8.3 (Berkeley) 4/2/94
  34:  *	operators.h,v 1.3 1994/09/24 02:59:13 davidg Exp
  35:  */
  36: 
  37: #define NOT     0
  38: #define ISBLOCK     1
  39: #define ISCHAR      2
  40: #define ISDIR       3
  41: #define ISEXIST     4
  42: #define ISFILE      5
  43: #define ISSETGID    6
  44: #define ISSYMLINK   7
  45: #define ISSTICKY    8
  46: #define STRLEN      9
  47: #define ISFIFO      10
  48: #define ISREAD      11
  49: #define ISSIZE      12
  50: #define ISTTY       13
  51: #define ISSETUID    14
  52: #define ISWRITE     15
  53: #define ISEXEC      16
  54: #define NULSTR      17
  55: 
  56: #define FIRST_BINARY_OP 18
  57: #define OR1     18
  58: #define OR2     19
  59: #define AND1        20
  60: #define AND2        21
  61: #define STREQ       22
  62: #define STRNE       23
  63: #define EQ      24
  64: #define NE      25
  65: #define GT      26
  66: #define LT      27
  67: #define LE      28
  68: #define GE      29
  69: 
  70: 
  71: #define OP_INT      1   /* arguments to operator are integer */
  72: #define OP_STRING   2   /* arguments to operator are string */
  73: #define OP_FILE     3   /* argument is a file name */

Defined macros

AND1 defined in line 59; used 3 times
AND2 defined in line 60; used 1 times
EQ defined in line 63; never used
FIRST_BINARY_OP defined in line 56; used 3 times
GE defined in line 68; never used
GT defined in line 65; never used
ISBLOCK defined in line 38; never used
ISCHAR defined in line 39; never used
ISDIR defined in line 40; never used
ISEXEC defined in line 53; never used
ISEXIST defined in line 41; never used
ISFIFO defined in line 47; never used
ISFILE defined in line 42; never used
ISREAD defined in line 48; never used
ISSETGID defined in line 43; never used
ISSETUID defined in line 51; never used
ISSIZE defined in line 49; never used
ISSTICKY defined in line 45; never used
ISSYMLINK defined in line 44; never used
ISTTY defined in line 50; never used
ISWRITE defined in line 52; never used
LE defined in line 67; never used
LT defined in line 66; never used
NE defined in line 64; never used
NOT defined in line 37; never used
NULSTR defined in line 54; never used
OP_FILE defined in line 73; used 16 times
OP_INT defined in line 71; used 9 times
OP_STRING defined in line 72; used 6 times
OR1 defined in line 57; used 3 times
OR2 defined in line 58; used 1 times
STREQ defined in line 61; never used
STRLEN defined in line 46; never used
STRNE defined in line 62; used 1 times

Usage of this include

Last modified: 1995-03-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2532
Valid CSS Valid XHTML 1.0 Strict