GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
Main Page
Related Pages
+
Data Structures
Data Structures
Class Hierarchy
+
Data Fields
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
y
z
+
Enumerations
a
c
d
e
h
l
m
n
o
p
r
s
t
v
y
+
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
maskfd.c
Go to the documentation of this file.
1
/*!
2
* \file lib/raster/maskfd.c
3
*
4
* \brief Raster Library - Mask functions.
5
*
6
* (C) 2001-2009 by the GRASS Development Team
7
*
8
* This program is free software under the GNU General Public License
9
* (>=v2). Read the file COPYING that comes with GRASS for details.
10
*
11
* \author Original author CERL
12
*/
13
14
#include <
grass/gis.h
>
15
#include <
grass/raster.h
>
16
17
#include "
R.h
"
18
19
/*!
20
* \brief Test for MASK.
21
*
22
* \return -1 if no MASK
23
* \return file descriptor if MASK
24
*/
25
26
int
Rast_maskfd
(
void
)
27
{
28
Rast__check_for_auto_masking
();
29
30
return
R__
.
auto_mask
> 0 ?
R__
.
mask_fd
: -1;
31
}
R__
Definition:
R.h:88
Rast_maskfd
int Rast_maskfd(void)
Test for MASK.
Definition:
maskfd.c:26
raster.h
gis.h
R.h
R__::mask_fd
int mask_fd
Definition:
R.h:91
R__::auto_mask
int auto_mask
Definition:
R.h:92
Rast__check_for_auto_masking
int Rast__check_for_auto_masking(void)
Checks for auto masking.
Definition:
auto_mask.c:37
lib
raster
maskfd.c
Generated on Mon May 31 2021 05:21:30 for GRASS GIS 7 Programmer's Manual by
1.8.13