GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
fileno.c
Go to the documentation of this file.
1
/*!
2
\file rowio/fileno.c
3
4
\brief RowIO library - file descriptor
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/rowio.h
>
15
16
/*!
17
* \brief Get file descriptor
18
*
19
* Returns the file descriptor associated with the ROWIO structure.
20
*
21
* \param R pointer to ROWIO structure
22
*
23
* \return file descriptor
24
*/
25
int
Rowio_fileno
(
const
ROWIO
* R)
26
{
27
return
R->
fd
;
28
}
ROWIO
Definition:
rowio.h:4
ROWIO::fd
int fd
Definition:
rowio.h:6
rowio.h
Rowio_fileno
int Rowio_fileno(const ROWIO *R)
Get file descriptor.
Definition:
fileno.c:25
lib
rowio
fileno.c
Generated on Mon May 31 2021 05:21:29 for GRASS GIS 7 Programmer's Manual by
1.8.13