~ubuntu-branches/ubuntu/wily/grass/wily

« back to all changes in this revision

Viewing changes to lib/rowio/fileno.c

Tags: 7.0.0~rc1+ds1-1~exp1
* New upstream release candidate.
* Repack upstream tarball, remove precompiled Python objects.
* Add upstream metadata.
* Update gbp.conf and Vcs-Git URL to use the experimental branch.
* Update watch file for GRASS 7.0.
* Drop build dependencies for Tcl/Tk, add build dependencies:
  python-numpy, libnetcdf-dev, netcdf-bin, libblas-dev, liblapack-dev
* Update Vcs-Browser URL to use cgit instead of gitweb.
* Update paths to use grass70.
* Add configure options: --with-netcdf, --with-blas, --with-lapack,
  remove --with-tcltk-includes.
* Update patches for GRASS 7.
* Update copyright file, changes:
  - Update copyright years
  - Group files by license
  - Remove unused license sections
* Add patches for various typos.
* Fix desktop file with patch instead of d/rules.
* Use minimal dh rules.
* Bump Standards-Version to 3.9.6, no changes.
* Use dpkg-maintscript-helper to replace directories with symlinks.
  (closes: #776349)
* Update my email to use @debian.org address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
1
14
#include <grass/rowio.h>
2
15
 
3
16
/*!
4
 
 * \brief get file descriptor
5
 
 *
6
 
 * Rowio_fileno()
7
 
 * returns the file descriptor associated with the ROWIO structure.
8
 
 *
9
 
 *  \param r
10
 
 *  \return int
 
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
11
24
 */
12
 
 
13
 
int rowio_fileno(const ROWIO * R)
 
25
int Rowio_fileno(const ROWIO * R)
14
26
{
15
27
    return R->fd;
16
28
}