GRASS 8 Programmer's Manual 8.6.0dev(2026)-4bb960b182
Loading...
Searching...
No Matches
fileno.c
Go to the documentation of this file.
1/*!
2 \file rowio/fileno.c
3
4 \brief RowIO library - file descriptor
5
6 SPDX-FileCopyrightText: 2001-2009 GRASS Development Team
7 SPDX-License-Identifier: GPL-2.0-or-later
8
9 \author Original author CERL
10 */
11
12#include <grass/rowio.h>
13
14/*!
15 * \brief Get file descriptor
16 *
17 * Returns the file descriptor associated with the ROWIO structure.
18 *
19 * \param R pointer to ROWIO structure
20 *
21 * \return file descriptor
22 */
23int Rowio_fileno(const ROWIO *R)
24{
25 return R->fd;
26}
int Rowio_fileno(const ROWIO *R)
Get file descriptor.
Definition fileno.c:23
Definition rowio.h:4
int fd
Definition rowio.h:5