aboutsummaryrefslogtreecommitdiff
path: root/sys/osb/or.c
blob: 88c8711ccee55d783931276010bcae5f3037e1e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
 */

#define	import_spp
#define import_knames
#include <iraf.h>

/* ORI -- Bitwise boolean OR of two integer variables.
 */
XINT
ORI (XINT *a, XINT *b)
{
	return (*a | *b);
}


/* ORS -- Bitwise boolean OR of two short integer variables.
 */
XSHORT
ORS (XSHORT *a, XSHORT *b)
{
	return (*a | *b);
}


/* ORL -- Bitwise boolean OR of two long integer variables.
 */
XLONG
ORL (XLONG *a, XLONG *b)
{
	return (*a | *b);
}