GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-d6dec75dd4
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_fileno
int Rowio_fileno(const ROWIO *R)
Get file descriptor.
Definition:
fileno.c:25
rowio.h
ROWIO
Definition:
rowio.h:4
ROWIO::fd
int fd
Definition:
rowio.h:5
lib
rowio
fileno.c
Generated on Sat Dec 21 2024 07:31:21 for GRASS GIS 8 Programmer's Manual by
1.9.1